Searched hist:b021f0b4d1700e2a9df697d489338f58066ac776 (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/inc/Cache/ |
| H A D | CacheImageMod.php | b021f0b4d1700e2a9df697d489338f58066ac776 Thu Jan 27 19:12:44 UTC 2022 Andreas Gohr <andi@splitbrain.org> correctly (re)cache modified images
The previous code used to cache the result of resize and crop image operations indefinitely. They only time these caches were refreshed were when the original source changed.
This meant that changes in configuration (eg. the image quality setting) were never applied to existing images, neither were changes/improvements in the resizing code.
This patch introduces a new Cache class for these kind of modification results.
It also removes more duplicated code in media_resize_image and media_crop_image. Future refactorings may move this code into File\MediaFile
This code should also fix currently weird results for plugin and screenshot in the extension manager - TBH I am not 100% sure what happened there but refreshing the cache once seems to solve the problem.
|
| /dokuwiki/inc/ |
| H A D | media.php | b021f0b4d1700e2a9df697d489338f58066ac776 Thu Jan 27 19:12:44 UTC 2022 Andreas Gohr <andi@splitbrain.org> correctly (re)cache modified images
The previous code used to cache the result of resize and crop image operations indefinitely. They only time these caches were refreshed were when the original source changed.
This meant that changes in configuration (eg. the image quality setting) were never applied to existing images, neither were changes/improvements in the resizing code.
This patch introduces a new Cache class for these kind of modification results.
It also removes more duplicated code in media_resize_image and media_crop_image. Future refactorings may move this code into File\MediaFile
This code should also fix currently weird results for plugin and screenshot in the extension manager - TBH I am not 100% sure what happened there but refreshing the cache once seems to solve the problem.
|