Matthew Dapena-Tretter
00b4388245
Support should_verify_existence on strategies
...
This prevents extra IO. Different defaults are used for async backends
since we can’t assume that `existence_required` resulted in existence
synchronously.
2014-09-23 18:41:09 -04:00
Markus Kaiserswerth
3056b3efc0
Simplified RQ cache file backed by using the job decorator
2014-04-04 14:24:21 +02:00
Matthew Dapena-Tretter
f45491bddb
Merge pull request #278 from mkai/_rq_async_cleanup
...
Cleaned up RQ cache file backend code, added async_rq setup extra
2014-03-23 18:50:45 -04:00
Markus Kaiserswerth
c5a1be3b8e
Removed unneeded django_rq import
2014-03-18 17:02:23 +01:00
Markus Kaiserswerth
85d8cb15bb
Added a DeprecationWarning if Async cache file backend is used
2014-03-18 16:37:18 +01:00
Matthew Dapena-Tretter
43afb7c33d
Fix celery backend
2013-11-28 00:39:57 -05:00
Markus Kaiserswerth
af3316278d
Cache file backends: dropped the "Async" in class names
2013-11-04 13:12:02 +01:00
Markus Kaiserswerth
260c6f5a10
Added RQ-based async cache file backend
2013-10-27 13:27:21 +01:00
Matthew Tretter
3444626084
Remove PENDING state
...
Re: #227
2013-07-16 21:41:10 -04:00
Matthew Tretter
a0c7b3f274
Use == for comparison
2013-07-16 20:40:48 -04:00
Matthew Tretter
637af70921
Don't include cache in serialization of backend
...
Fixes #227
2013-06-20 09:17:12 -04:00
Matthew Tretter
c704db2da5
Sanitize cache keys for memcached
...
Closes #208
2013-04-30 09:32:47 -04:00
Matthew Tretter
2b10e85813
Clarify "force" kwarg
2013-04-02 22:55:44 -04:00
Matthew Tretter
3ca8c53698
Also defer existance check
2013-04-02 22:37:52 -04:00
Matthew Tretter
728368abf6
Add async cachefile backend
2013-04-02 22:29:53 -04:00
Matthew Tretter
3d6a9de9aa
Add existence check timeout
2013-03-15 01:05:53 -04:00
Matthew Tretter
1e129c5b70
Convert to boolean
2013-03-15 00:49:24 -04:00
Matthew Tretter
70ff6dc788
Store state when force-generated
2013-03-15 00:30:58 -04:00
Matthew Tretter
fc87c0497c
Add abstract cachefile backend for illustration
2013-03-15 00:20:15 -04:00
Matthew Tretter
54dda25adb
Generation goes through backend; use states
...
We might as well account for asynchronous generation in our
CachedFileBackend.
2013-03-15 00:19:19 -04:00
Matthew Tretter
ac92b77709
Fix loopy existence check
...
Sometimes two wrongs do make a right I guess. But better to have two
rights.
2013-03-14 23:04:30 -04:00
Matthew Tretter
f181d30008
Rename file_exists to exists
2013-03-14 22:58:28 -04:00
Matthew Tretter
301adc2087
Let's call em cachefiles
...
Changed my mind about 04aa72c1f9 . It's
just a better description, even if different strategies can change the
behavior so it isn't really very cache-like.
2013-02-04 19:52:38 -05:00