RE: [SMARTY] CVS version

From: Date: Fri, 07 Jun 2002 15:55:21 +0000
Subject: RE: [SMARTY] CVS version
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4689@lists.php.net to get a copy of this message
Hello Monte, Yes, that is true... however, if you don't use mod_gzip? :). But I agree on the question: is it the script's responsibility, or the web server's... However, there are a couple of other cache-related headers listed at http://www.web-caching.com/mnot_tutorial/how.html#CACHE-CONTROL These could (should?) be included in Smarty without too much trouble in order to be even more "cache-friendly". -----Message d'origine----- De : Monte Ohrt [mailto:monte@ispi.net] Envoye : vendredi 7 juin 2002 17:47 A : Alain Fontaine Cc : smarty-general@lists.php.net Objet : Re: [SMARTY] CVS version I thought about that before, but concluded that it shouldn't be Smarty's responsibility. Handle that at your application level, or even better at the web server level. For instance, mod_gzip sends that header anyways, especially since it changes the size of the content. Thoughts? Alain Fontaine wrote: > Hi again, > > Read on www.web-caching.com: > > "Generate Content-Length response headers. It's easy to do, and it will > allow the response of your script to be used in a persistent connection. > This allows a client (whether a proxy or a browser) to request multiple > objects on one TCP/IP connection, instead of setting up a connection for > every request. It makes your site seem much faster." > > Wouldn't it be nice if Smarty could also send this header? > > -----Message d'origine----- > De : Monte Ohrt [mailto:monte@ispi.net] > Envoye : vendredi 7 juin 2002 17:33 > A : Alain Fontaine > Cc : smarty-general@lists.php.net > Objet : Re: [SMARTY] CVS version > > > On the first hit the cache must have been generated. The second hit used > the cache and sent the Last-Modified header. > > Alain Fontaine wrote: > >>Hello, >> >>Here is the output of a couple of consecutive CURL calls: >> >><-- snip --> > > ... > -- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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