Andreas Gohr wrote:
Well there are the following lines:
header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Pragma: public');
They force the browser to check the files on every request, usually
using an if-modified-since conditional request which will be answered
with a 403 - not changed answer by dokuwiki.
Ah, that makes sense - I am no expert either :)
A quick bit of profiling showed:
copy of wiki:plugin page from splitbrain
first render with purge=1, 31 x filemtime, total 0.17secs second render, no purge, 39 x filemtime, total 0.015secs
on another cached page, instructions cached, page rerendered, 39 x filemtime, total 0.0022secs
Obviously not scientific, but I guess we can check as many files as we want.
Thanks.
Chris
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist