cacheManager Jul 04, 2012
This plugin is the centralized Cache manager for Zenphoto. It provides:
- Options to purge the HTML and RSS caches on publish state changes of:
- news articles
- pre-creating the Image cache images
- utilities for purging Image, HTML, and RSS caches
Image cache pre-creating will examine the gallery and make image references to any images which have not already been cached. Your browser will then request these images causing the caching process to be executed.
The default, effervescence+,garland, stopdesign, and zenpage themes have created Caching size options for the images sizes they use. The stopdesign theme creates some two sets of thumbnail sizes, one for landscape and one for protrait "35mm slide" thumbnails. You may wish not to apply both (or either) of these sizes if you do not want the excess images. The caching process does not consider the image orientation, it simply creates a cache image at the sizes specified.
- Setting theme options or installing a new version of Zenphoto will re-create these caching sizes. Use a different theme name for custom versions that you create.
- The pre-creating process will cause your browser to display each and every image that has not been previously cached. If your server does not do a good job of thread management this may swamp it! You should probably also clear your browser cache before using this utility. Otherwise your browser may fetch the images locally rendering the above process useless.
- You may have to refresh the page multiple times until the report of the number of images cached is zero. If some images seem to never be rendered you may be experiencing memory limit or other graphics processor errors. You can click on the image that does not render to get the i.php debug screen for the image. This may help in figuring out what has gone wrong.
Included in the Zenphoto release.