RE: [SMARTY] cache date and time
| From: | Graeme Merrall | Date: | Wed, 05 Jun 2002 09:03:03 +0000 |
| Subject: | RE: [SMARTY] cache date and time | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4608@lists.php.net to get a copy of this message | ||
> > Please let me know about your decision, because if you
> > decide to not incorporate such a funcyion in Smarty
> > I'll have to write my ow cache handler functions.
>
> I'm in favor of implementing such things in Smarty. I have a lot of
> pages that as fas as I'm concerned may be cached forever, until I change
> something, after which I should be able to delete that specific page
> from the cache.
>
Check out Jesus Castagnetto's CachedTemplate class
(http://www.castagnetto.org/) he implements a cache check system that does
exactly that. You may be able to pick some ideas up from that.
Cheers,
Graeme