[thelist] gzip and far future expires header
Bob Meetin
bobm at dottedi.biz
Thu Jan 15 10:56:11 CST 2009
This is the contents of joomla.javascript.php
<?php
ob_start('ob_gzhandler');
include("joomla.javascript.js");
header('Content-Type: text/javascript; charset: UTF-8');
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60*100) . '
GMT');
?>
YSlow reports back: "These components do not have a far future Expires
header: (no expires)" pointing to this file. 100 seems like a lot to
me. Is there something I am missing? Wrong syntax?
Bob Meetin
More information about the thelist
mailing list