Subversion Repositories LCARS

Rev

Rev 106 | Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 106 Rev 117
Line 14... Line 14...
14
));
14
));
15
15
16
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT');
16
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT');
17
17
18
/* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
18
/* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
19
header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate');
19
header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
20
20
21
/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
21
/* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
22
header('Expires: ' . gmdate('D, d M Y H:i:s', time() /*+ 86400*/) . ' GMT');
22
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
23
23
24
$languages = array(
24
$languages = array(
25
  'en' => 'English',
25
  'en' => 'English',
26
  'de' => 'Deutsch'
26
  'de' => 'Deutsch'
27
);
27
);