[pmwiki-users] Caching strategy
Patrick R. Michaud
pmichaud at pobox.com
Sun May 27 09:03:13 CDT 2007
On Sun, May 27, 2007 at 09:50:34AM +0200, Christophe David wrote:
> As far as I understand, PmWiki does all it can to disable local
> caching by the client browser, as the pages are exptected to change
> at any time.
>
> > $PageListCacheDir = 'work.d';
> > $PageCacheDir = 'work.d';
>
> Now that we have page caching and pagelist caching available, is this
> approach still the best ?
>
> If an admin chooses to use caching, shouldn't (if not yet the case)
> the pages that are rendered from the cache be allowed to be cached by
> the client browser too ?
Sure. Just set:
$EnableIMSCaching = 1;
PmWiki then uses the If-Modified-Since request header to
(smartly) manage the browser's cache also.
Pm
More information about the pmwiki-users
mailing list