About regenerating already generated cached images

I noticed something. My Zen galley is regenerating images already generated before.

I am using static html cache, not one from gallery package, custom one, but most common php output cache script. And since content on pages is pretty much static I am using long caching period, practically I force page regenerating when I change my layout or add new images or something like that. So, practically some pages with images on them can be cached for more than 6 months.

Now I deleted some cached pages and normally I expected from gallery just to regenerate html, but instead gallery regenerate images from "cache" folder too, not all images, just old, for example older than 5-6 months, but do not regenerate images created before 2-3 months.

Is there any settings which is telling gallery to regenerate cached images again after some time?

Just to say that gallery is working fine, and I did not change size or quality of cached images.

Comments

  • acrylian Administrator, Developer
    Generally, Zenphoto has two types of cache:
    1. the image cache for all sized images (thumbs, sized images etc). This is built in. These images are created ones if no cached image is existing. It is only used on newly discovered images or if you change sizes (either via options or via theme layout functions).
    2. The static_html_cache plugin one. That caches the generated pages including the images as html. But if it for example images have not been cached the calls to the image processor will be cached as well. It is not able to check that but this should be corrected on the next cache update. Normally that happens once a day. That might be what you are expieriencing. Of course you say you use a custom tool so we cannot help about that.
    3. There is actually a third, the rss feed cache and the sitemap cache (plugin based) but those work like the html one
    There is info about all this on the troubleshooting on the user guide.
Sign In or Register to comment.