Subversion Repositories LCARS

Compare Revisions

Last modification

Ignore whitespace Rev 116 → Rev 117

/trunk/global.php
16,10 → 16,10
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');
header('Cache-Control: max-age=86400, 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');
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
 
$languages = array(
'en' => 'English',