Subversion Repositories LCARS

Compare Revisions

Last modification

Ignore whitespace Rev 115 → Rev 116

/trunk/index.php
9,13 → 9,13
@filemtime("styles/lcars22.css"),
));
 
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT');
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi ) . ' GMT');
 
/* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate');
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
\header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate');
 
/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
header('Expires: ' . gmdate('D, d M Y H:i:s', time() /*+ 86400*/) . ' GMT');
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
 
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">