mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-23 08:20: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). |
||
|---|---|---|
| .. | ||
| cachefiles | ||
| forms | ||
| management | ||
| models | ||
| specs | ||
| templates/imagekit/admin | ||
| templatetags | ||
| __init__.py | ||
| admin.py | ||
| conf.py | ||
| exceptions.py | ||
| files.py | ||
| generatorlibrary.py | ||
| hashers.py | ||
| importers.py | ||
| lib.py | ||
| pkgmeta.py | ||
| processors.py | ||
| registry.py | ||
| signals.py | ||
| utils.py | ||