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>
The public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
The public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |