Re: [SMARTY] cache .xml files
| From: | Boris Alet | Date: | Thu, 28 Jun 2007 13:45:08 +0000 |
| Subject: | Re: [SMARTY] cache .xml files | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13723@lists.php.net to get a copy of this message | ||
pobox@verysmall.org a écrit :
messju mohr wrote:you can send a header <?php header("content-type:text/xml"); ?> to force the RSS Readers take the page in XML BorisOn Thu, Jun 28, 2007 at 03:13:57PM +0200, pobox@verysmall.org wrote:The extension is .html as far as I can see and the RSS Readers get headers as if the file is HTML - not XML. -- HelloHello, it seems that the Smarty cache creates .html files. Is it possible to instruct it to cache .xml files? I need this to cache RSS feeds.Smarty just caches text files - a superset of xml and html files.