Rev 112 | Rev 117 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 112 | Rev 116 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | @filemtime(__FILE__), |
7 | @filemtime(__FILE__), |
8 | @filemtime("styles/lcars-basic.css"), |
8 | @filemtime("styles/lcars-basic.css"), |
9 | @filemtime("styles/lcars22.css"), |
9 | @filemtime("styles/lcars22.css"), |
10 | )); |
10 | )); |
11 | 11 | ||
12 | header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT'); |
12 | \header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi ) . ' GMT'); |
13 | 13 | ||
14 | /* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
|
14 | /* Resource expires in HTTP/1.1 caches 24h after last retrieval */
|
15 | header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate'); |
15 | \header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate'); |
16 | 16 | ||
17 | /* Cached resource expires in HTTP/1.0 caches 24h after last retrieval */
|
17 | /* Resource expires in HTTP/1.0 caches 24h after last retrieval */
|
18 | header('Expires: ' . gmdate('D, d M Y H:i:s', time() /*+ 86400*/) . ' GMT'); |
18 | \header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT'); |
19 | 19 | ||
20 | ?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
20 | ?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
21 | "http://www.w3.org/TR/html4/loose.dtd"> |
21 | "http://www.w3.org/TR/html4/loose.dtd"> |
22 | <html lang="en"> |
22 | <html lang="en"> |
23 | <head> |
23 | <head> |