getting correct Last-Modified date
| From: | Ivo Jansch | Date: | Fri, 26 Jul 2002 07:10:20 +0000 |
| Subject: | getting correct Last-Modified date | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5458@lists.php.net to get a copy of this message | ||
Hi,
to optimally make use of the browser cache of my visitors, I want to send the correct Last-Modified header. When my template is rendered, this is no problem, since I have the date in the database. However, when the template is fetched from the cache, I don't know this date.
What is the best way to retrieve this date, without manually getting around Smarty to get the cache-file timestamp?
Greetings,
Ivo
--
Ivo Jansch <ivo@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl