Re: [SMARTY] How to get cache build time on cached template?

From: Date: Tue, 27 Jul 2004 18:06:29 +0000
Subject: Re: [SMARTY] How to get cache build time on cached template?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11630@lists.php.net to get a copy of this message
On Tue, Jul 27, 2004 at 10:31:57AM +0200, Erik Franzén wrote: > Is there a neat way to find out about the cache build date (time) for a > cached template in Smarty? if you want to do it you have to dig into smarty's internals and reverse engineer how the files are stored inside the cache folder (you arent't save for any changes in furture versions then, of course). or you can implement your own $smarty->cache_handler_func: when you stored the files yourself (via your cache_handler_func) you may be the best to know their creation times. but normally you don't need the creation-times of cached pages. you just set an expiration-time and ask via is_cached() if the cached page is too old. greetings messju > /Erik > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#11630) next »