Loading...
 
Skip to main content

Architecture / Installation


Newbie question - Cache

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

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

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

>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,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion — A beginner's guide to using ))TikiWiki((.

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