[ class tree: plugins ] [ index: plugins ] [ all elements ]

Procedural File: static_html_cache.php

Source Location: /zp-extensions/static_html_cache.php

Page Details

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_cache() 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.

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.

Author:  Malte Müller (acrylian)
Classes
Class Description
staticCache
staticCache_options Plugin option handling class
Includes
require_once (dirname(dirname(__FILE__)).'/functions.php') [line 32]
[ Top ]

require_once (dirname(dirname(__FILE__)).'/admin-globals.php') [line 22]
[ Top ]


Functions
static_cache_html_disable_cache  [line 343]

call to disable caching a page


void static_cache_html_disable_cache( )

[ Top ]
static_cache_html_purgebutton  [line 66]

creates the Utilities button to purge the static html cache

Parameters:
array   $buttons: 


array static_cache_html_purgebutton( array $buttons  )

[ Top ]


Documentation generated on Tue, 20 Dec 2011 16:08:10 +0100 by phpDocumentor 1.4.3