Re: [SMARTY] getting correct Last-Modified date
| From: | Ivo Jansch | Date: | Fri, 26 Jul 2002 14:20:10 +0000 |
| Subject: | Re: [SMARTY] getting correct Last-Modified date | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5465@lists.php.net to get a copy of this message | ||
Hi,
Monte Ohrt wrote:
Smarty will do this for you. Set the $cache_modified_check variable to true and Smarty will send Last-Modified headers and respect If-Modified-Since headers, sending a "304 Not Modified" if the page has not been modified.But I don't want Smarty to do it. I use Smarty's fetch() functionality to return me everything in a String. I don't want Smarty to output any headers, I need to do that myself after the parsing. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl