Re: [SMARTY] How to get cache build time on cached template?
| From: | Vonleigh Simmons | Date: | Tue, 27 Jul 2004 18:48:00 +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-11631@lists.php.net to get a copy of this message | ||
I'd just make note of the time before I called display (pseudo code because I have to run): If ( smarty isn't cached ) { // whatever your script does ... // make note of time and date into a database or file } smarty->display(); Vonleigh Simmons <http://illusionart.com/>Is there a neat way to find out about the cache build date (time) for a cached template in Smarty?