If you inspect the HTTP headers of a page generated by Tiki, it has an Expires header in the past:
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Beside that, I also suggest to enable caching, at least in the Raw page display (tiki-index_raw.php?page=), it enables the browser to cache frequently used information by something like the AJAXLoad plugin and improves performance.
Now the Pragma header has:
Pragma: no-cache
And the cache-control header:
Cache-Control: no-store, no-cache, must-revalidate
When using IIS as server; add in you web.config between </rules> and </rewrite> the next code:
<outboundRules> <rule name="Remove Pragma" preCondition="tiki-index_raw.php"> <match serverVariable="RESPONSE_Pragma" pattern="(.*)" /> <action type="Rewrite" /> </rule> <rule name="Add Caching" preCondition="tiki-index_raw.php"> <match serverVariable="RESPONSE_Cache-Control" pattern="(.*)" /> <action type="Rewrite" value="private, max-age=300" /> </rule> <rule name="Remove Expires" preCondition="tiki-index_raw.php"> <match serverVariable="RESPONSE_Expires" pattern="(.*)" /> <action type="Rewrite" /> </rule> <preConditions> <preCondition name="tiki-index_raw.php"> <add input="{URL}" pattern="tiki-index_raw.php*" /> </preCondition> </preConditions> </outboundRules>
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |