Subversion Repositories LCARS

Rev

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

Rev 116 Rev 117
Line 1... Line 1...
1
<?php
1
<?php
2
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT');
2
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT');
3
 
3
 
4
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
4
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
5
header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate');
5
header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
6
6
7
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
7
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
8
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
8
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
9
 
9
 
10
header('Content-Type: text/css; charset=UTF-8');
10
header('Content-Type: text/css; charset=UTF-8');