mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-05-24 20:23:44 +00:00
Woops. It uses the cache if DEBUG is False.
This commit is contained in:
parent
8a709a845c
commit
e36290b4ee
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ Caching Data About Generated Files
|
||||||
The easiest, and most significant improvement you can make to improve the
|
The easiest, and most significant improvement you can make to improve the
|
||||||
performance of your site is to have ImageKit cache the state of your generated
|
performance of your site is to have ImageKit cache the state of your generated
|
||||||
files. The default cache file backend will already do this (if ``DEBUG`` is
|
files. The default cache file backend will already do this (if ``DEBUG`` is
|
||||||
``True``), using your default Django cache backend, but you can make it way
|
``False``), using your default Django cache backend, but you can make it way
|
||||||
better by setting ``IMAGEKIT_CACHE_BACKEND``. Generally, once a file is
|
better by setting ``IMAGEKIT_CACHE_BACKEND``. Generally, once a file is
|
||||||
generated, you will never be removing it; therefore, if you can, you should set
|
generated, you will never be removing it; therefore, if you can, you should set
|
||||||
``IMAGEKIT_CACHE_BACKEND`` to a cache backend that will cache forever.
|
``IMAGEKIT_CACHE_BACKEND`` to a cache backend that will cache forever.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue