Features / Usability

Features / Usability

'|cache' directive (vs. '|nocache') in wiki link syntax

posts: 7 United States

I understand nocache usage:
[http://www.blah.com/blah.html|Blah Page|nocache]

But I'd like to enable caching on a one by one basis such as:
[http://www.blah.com/blah.html|Blah Page|cache]

...which as far as I can tell does not work. To make it even more complicated, I presume this would require some fancy footwork to implement as I want the cache mechanism as indicated by the admin options to explicitly not be enabled as this would therefore cause sitewide caching (which I do not want) nor do I want to enforce the requirement for every other link to specify the |nocache directive which unnecessary burden for users (which I also do not want).

Ohhh Tiki dev gurus...is this possible to implement, or is there already a way to do this that I am not aware of??

posts: 224 Ireland

I would also have expected for the caching feature to work on an individual basis but since I always have caching switched on, it never bothered me. I am assuming that 'caching' is an 'on/off' thing where there's no in between. Once it's enabled it is defaulting to always caching in which case you must specify nocache to make exceptions.



posts: 7 United States
Yes, you are right, caching does not work on an individual basis from what I can tell, and is currently a "On with nocache to make exceptions" approach. Problem is I don't want to have caching being the default, but just for certain special pages.

Upcoming Events

No records to display