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 10... | Line 10... | ||
| 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 | /* 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=86400, must-revalidate, proxy-revalidate'); |
15 | \header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
| 16 | 16 | ||
| 17 | /* 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"
|