Newbie question - Cache Posted by PhilJollans 31 Dec 2007 18:42 UTC Hi, I see the text "(cached)" at the top of my Wiki pages. Can somebody explain to me what this is all about, or point me to the relevant place in the documentation? Thanks Phil
Posted by Rick Sapir / Tiki for Smarties 01 Jan 2008 23:37 UTC It means that you have enabled the Cache wiki pages option and are looking the cache version. Seee the docs, here for details. HTH, -Rick Need more help? Try TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
Posted by PhilJollans 02 Jan 2008 11:30 UTC Thanks Rick, the docs don't go into too much detail, but I think I get the idea. To avoid parsing the wiki source, the wiki engine caches pages in HTML or some intermediate format. In most cases, I don't think this will interest readers, so I will probably move it to a less prominent position, or remove it completely. It looks like I can do this by copying tiki-show_page.tpl to my styles subdirectory and modifying or moving the div wikitopline. Phil
Posted by Rick Sapir / Tiki for Smarties 02 Jan 2008 11:34 UTC Rather than changing the template, why not simply turn off the option? HTH, -Rick Need more help? Try TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
Posted by PhilJollans 02 Jan 2008 11:48 UTC I thought that I had just replied to this message, but it seems to have ended up in nirvana. The docs don't really go into much detail. My understanding is, that the tiki engine avoids reparsing the wiki source, by caching the page in HTML or some intermediate format. This means that there is a small chance that the wiki source has been modified, and contains changes which are not in the cache. This isn't going to interest end users much, but will certainly be important when you edit the page. I don't want this information at such a prominent position in my layout and will try to move it (maybe to the bottom of the page). It looks like I can do this by copying tiki-show_page.tpl to my styles subdirectory and then editing or moving the div wikitopline. Phil
Posted by Rick Sapir / Tiki for Smarties 02 Jan 2008 20:03 UTC >This isn't going to interest end users much, but will certainly be important when you edit the page. I don't think this is an issue, as Tiki always refreshes to the latest when editing a wiki page. >I don't want this information at such a prominent position in my layout and will try to move it (maybe to the bottom of the page). It looks like I can do this by copying tiki-show_page.tpl to my styles subdirectory and then editing or moving the div wikitopline. If you are going to be editing the TPL template files, you should really should create your own style, rather then modifying a base-Tiki style. This will make future upgrades much easier. HTH, -Rick Need more help? Try TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
Posted by PhilJollans 02 Jan 2008 21:29 UTC Thanks Rick, I have already created my own style. When would you ever want to force an update from the wiki source, or even care about whether the page was cached or not, if editing the page invalidates the cache? This seems like a low level developer feature, which end users will never need. Phil