Tuesday 13 December 2005 1:22:12 am
Hi, There is a start page, which collects information from subfolders. It is called News and collects information with a modified folder.tpl: folder_start_news_de.tpl and fetch tree. So viewmode is "full" of {$module_result.content} and cached. If I publish a new news, this node isn't cleared. If I publish via wait until date, same procedure. Other lists are cleared, but they are direct in pagelayout.tpl and not accessed via content/view/full On possibility is to reduce caching time, which is bad for a start page {set-block scope=root variable=cache_ttl}0{/set-block}
or this? <b>Subtree Expiry</b> Something inbetween the default policy of always expiring the cache blocks when content is published, and the functionality of "ignore_content_expiry" is the Subtree Expiry parameter. With this parameter you can control the expiration of a cache block when content in a specific subtree (like /products) is published. A real-life example might be where there is a block inside the pagelayout template which contains a list of the five last added products; in the following example the cache-block will be expired when there is something published in the /products/bargain subtre, or after 30 minutes:
{cache-block expiry=1800 subtree_expiry=/producs/bargain}
... tpl code
{/cache-block}
Which is the best way? There is a lot of traffic on this page. Thanks, ekke
http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing
|