How does Zenphoto cache? May 21, 2011 / Updated: Dec 09, 2012
- Image cache: Zenphoto does not touch the original images you uploaded to the albums directory. But it does cache the resized images like thumbs, sized images or any other sized images so they don't have to be generated any time again. Zenphoto creates these cached files on the fly. This means they are not preliminary created but on request, e.g. if someone visits a page of your site. Depending on teh dimensions of your images and your server's power this might result in an initial delay once.Those images are stored in the root /cache folder. You can clear this cache manually on the backend. It is for obvious reasons not possible to delete this cache. Note Zenhoto can't create thumbs from multimedia files.
- RSS cache: Zenphoto caches the rss feeds provided as static .xml files in the root /cache_html/rss/ folder. This can of course be disabled via an option.
- Static HTML cache: Optionally there is also the included static_html_cache plugin that caches all pages as static .html files in the same /cache_html. If you use the multilingual option a page for each language is generated automatically. Note that the cachce needs to be cleared if you change anything and want to to appear before the expire date set, it is not autocleared when saving an update.
- Sitemap cache:If you have eenabled the sitemap-extended plugin the sitemap is cached in /cache_html/sitemap as a static xml file as well. You can of course also disable this cache via the plugin's options.
This work by www.zenphoto.org is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.