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

Procedural File: static_html_cache.php

Source Location: /zp-extensions/static_html_cache.php

Page Details

Static HTML Cache

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 Plugin option handling class
Includes
require_once (dirname(dirname(__FILE__)).'/functions.php') [line 23]
[ Top ]


Constants
STATIC_CACHE_FOLDER  [line 37]

STATIC_CACHE_FOLDER = "cache_html"

[ Top ]


Functions
static_cache_html_disable_cache  [line 332]

call to disable caching a page


void static_cache_html_disable_cache( )

[ Top ]
static_cache_html_purgebutton  [line 315]

creates the Utilities button to purge the static html cache

Parameters:
array   $buttons: 


array static_cache_html_purgebutton( array $buttons  )

[ Top ]


Documentation generated on Mon, 09 Aug 2010 17:24:12 +0200 by phpDocumentor 1.4.1