ZenphotoCMS 1.6.3

static_html_cache.php

Used to cache Theme pages (i.e. those pages launched by the Zenphoto index.php script.)

Exceptions to this are the password.php and 404.php pages, any page listed in the Excluded pages option, and any page whose script makes a call on the static_cache_html::disable() function. NOTE: this function only prevents the creation of a cache image of the page being viewed. If there is already an existing cached page and none of the other exclusions are in effect, the cached page will be shown.

Caching is also aborted when the page being rendered is not static. For instance pages containing a link to the image processor will not be cached so that the image may be cached and the link changed to the cache folder. Similarly, pages which contain comment forms are not cached because then the comment would never show.

In addition, caching does not occur for pages viewed by Zenphoto users if the user has ADMIN privileges or if he is the manager of an album being viewed or whose images are being viewed. Likewise, Zenpage News and Pages are not cached when viewed by the author.

Tags
author

Malte Müller (acrylian), Stephen Billard (sbillard)

Table of Contents

Classes

staticHTMLCacheOptions
static_html_cache

        
On this page

Search results