I have the need to cache some variables on a page but not others. For example, variables that depend on the logged in user (such as a SEARCH that shows open tasks of the currently logged in user) should not be cached, but other queries should be cached.
This enhancement adds a new
varcache_exclude
tag. Example:
* %SEARCH: %{ "." nonoise="on" format="$topic" separator=", " limit="10" }%
<varcache_exclude>
* %SEARCH: %{ "%WIKINAME%" nonoise="on" format="$topic" separator=", " limit="10" }%
</varcache_exclude>
* %SEARCH: %{ "." nonoise="on" format="$topic" separator=", " limit="10" }%
--
TWiki:Main/PeterThoeny
- 2012-04-27
This is now in SVN trunk and TWiki-5.1 branch, and published to TWiki.org.
--
TWiki:Main/PeterThoeny
- 2012-04-27
I introduced a bug in the last checkin when varcache_exclude tag as used. Now fixed, updated in SVN trunk and 5.1 branch, and uploaded to twiki.org.
--
TWiki:Main/PeterThoeny
- 2012-04-27