mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-17 05:40:25 +00:00
Reading from an `ImageCacheFile`, will result in accessing its `file` attribute repeatedly which would result in the `before_access` signal being dispatched, which in turn would result in many unnecessary calls to the image cache backend. With this change, we don't send `before_access` if the file has already been created. Similarly, we don't need to try to generate the image if we know for certain that it's already been generated (because we have a reference to it). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| backends.py | ||
| namers.py | ||
| strategies.py | ||