Venelin Stoykov
4d1ee41f2e
Make it possible to configure IMAGEKIT_CACHE_TIMEOUT
...
By default cache forever
2017-02-17 02:47:19 +02:00
Venelin Stoykov
95e484d073
Cleanup caching configuration
...
Requires Django 1.3+
2017-02-09 00:43:08 +02:00
Pierre Dulac
97dc4b6cb2
Work a compatibility implementation for Django 1.2
2015-10-31 18:51:07 +01:00
Pierre Dulac
5855e97997
Cleaner implementation thanks to @vstoykov explanation
2015-10-30 16:23:28 +01:00
Pierre Dulac
e155b632cd
Handle cases where DEFAULT_CACHE_ALIAS is None in old Django versions
2015-10-30 00:24:50 +01:00
Pierre Dulac
fbf15befb8
Do not take a decision on which cache to use in DEBUG mode
...
maybe the developer wants to test his cache configuration locally, or
maybe he has to test different types of caches, we just don't know
2015-10-29 23:27:02 +01:00
Matthew Tretter
bb7e9e5891
Fix cache backend fallback
...
Closes #225
Closes #226
2013-06-10 18:33:22 -04:00
Matthew Tretter
32522114db
Improve default cache backend handling
2013-05-13 21:28:41 -04:00
Matthew Tretter
c704db2da5
Sanitize cache keys for memcached
...
Closes #208
2013-04-30 09:32:47 -04:00
Matthew Tretter
0a98eb0e79
Use DEFAULT_FILE_STORAGE by default
...
As raised in #203 , if `IMAGEKIT_DEFAULT_FILE_STORAGE` isn't set,
`DEFAULT_FILE_STORAGE` should be used.
2013-04-22 09:05:49 -04:00
Matthew Tretter
51dcf283fd
Fix default cache backend for Django < 1.3
2013-02-06 21:59:26 -05: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
Matthew Tretter
0947c1403f
Organize settings
2013-01-31 22:40:54 -05:00
Matthew Tretter
933ff79ac1
Make settings consistent
2013-01-31 22:38:48 -05:00
Matthew Tretter
e1c819e9b4
Allow default generatedfile name configuration w/namers
2013-01-31 22:37:09 -05:00
Matthew Tretter
d6b73b8da7
Renaming/repackaging of generated file related classes
2013-01-31 19:24:08 -05:00
Matthew Tretter
04aa72c1f9
Rename cache things (it isn't cachine)
...
https://twitter.com/alex_gaynor/statuses/257558176965206016
2013-01-31 10:07:20 -05:00
Matthew Tretter
9188499965
Rework template tag for generators
2012-12-01 20:36:31 -05:00
Matthew Tretter
98a6fff62d
Add DEFAULT_FILE_STORAGE Setting; Closes #153
2012-10-17 21:09:04 -04:00
Matthew Tretter
7f6e97a37a
Rename Pessimistic to JustInTime
2012-10-16 21:46:23 -04:00
Matthew Tretter
ca391fbf0a
Change cache prefix
2012-10-16 21:43:17 -04:00
Matthew Tretter
06e5f45904
Remove unused imports
2012-10-04 23:43:02 -04:00
Matthew Tretter
667f0cc08e
Simplify IMAGEKIT_CACHE_BACKEND setting
2012-10-04 23:41:20 -04:00
Matthew Tretter
d2087aa168
Create ImageSpecs; remove generators
2012-10-04 21:37:20 -04:00
Matthew Tretter
ba9bf1f877
Add image cache strategies
...
This new feature gives the user more control over *when* their images
are validated. Image cache backends are now exclusively for controlling
the *how*. This means you won't have to write a lot of code when you
just want to change one or the other.
2012-10-03 22:23:11 -04:00
Matthew Tretter
8a2738ca8a
Add backend for caching image state
2012-09-06 22:11:23 -04:00
Matthew Tretter
2ad3791d9d
Reorganize image cache backends
2012-09-06 09:11:18 -04:00
Matthew Tretter
197dfb3485
Add VALIDATE_ON_ACCESS setting
2012-09-06 09:08:45 -04:00
Matthew Tretter
7ad5cf4db5
Use hashes for generated image filenames
...
While this change means users can no longer specify their own filenames,
changing a property of a processor, for example, will now result in a
new image. This solves a lot of the previous invalidation issues.
2012-07-19 23:48:28 -04:00
Matthew Tretter
a196e00059
Use django-appconf
2012-07-19 21:03:15 -04:00