[pmwiki-users] no cache directive?

Patrick R. Michaud pmichaud at pobox.com
Fri Nov 10 09:10:17 CST 2006


On Fri, Nov 10, 2006 at 08:02:48AM -0700, dso wrote:
> I have caching enabled for the whole wiki but I want to not cache one page.

I'm assuming you're using $EnableIMSCaching, and that's what you want
to disable.  To turn off caching for a single page (say, Group.SomePage),
create a file called local/Group.SomePage.php with

    <?php
      $EnableIMSCaching = 0;

Pm


> Anno wrote:
> > dso wrote:
> >> Is there a directive to set one page to not cache?  Something like
> >> (:nocache:) ?
> >>
> >> Daniel
> > 
> > PmWiki's default is
> > Cache-Control: no-store, no-cache, must-revalidate
> > 
> > Did you enable caching?




More information about the pmwiki-users mailing list