Re: caching based on url
| From: | Andreas Kossmeier | Date: | Wed, 26 Sep 2001 14:21:46 +0000 |
| Subject: | Re: caching based on url | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1555@lists.php.net to get a copy of this message | ||
Ivo Jansch wrote:
> Is it possible to have it cache each 'occurence' of the pagen? So it
> would keep a cached version of the main page AND a cached version of > the help page. Is
> this possible?
pass a cache_id to fetch(), caching of database driven sites wouldn't be
very effective, if there exists no such simple mechanism in smarty.
http://www.phpinsider.com/php/code/Smarty/docs/c239.htm#API.FETCH
such a simple thing should be mentioned in the docs: under
http://www.phpinsider.com/php/code/Smarty/docs/x57.htm#SECTION.CACHING
it's not.
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at