Forums / Developer / {cache-block} implementation again / Comment38022
Bård Farstad
Thursday 05 June 2003 7:16:35 am
What you need to do is to figure out what makes the current block unique. E.g. if you've caching a menue which is the same inside every section you need to make the cache block unique pr section. The uniqueness is decided by the keys of the cache block.
If you have something which is unique pr page ( e.g. the path code ) you could use the request url to make the cache block unique.
Cache blocks will automatically expire when content is published and you can set a timeout.
--bård
Documentation: http://ez.no/doc