Commit Graph

4 Commits

Author SHA1 Message Date
Kevin Centeno
e2f4698402 Added cache headers for .html files
"This code snippet checks if a page has been modified since it was last displayed. If so, it sends a "304 not modified" header and exits, otherwise the content is rendered." source: http://css-tricks.com/snippets/php/intelligent-php-cache-control/

Adds Last-Modified, Etag (using md5; performance is still good for files under 1MB), and Cache-Control header.
2013-10-04 15:47:36 -04:00
Nick Spiel
5ff80cad6c Fixes BASE_URL php Notice. 2013-09-18 10:31:55 +10:00
Will Rossiter
841ecd9fe5 Rename static to staticpublisher. 2012-09-25 20:02:26 +12:00
Will Rossiter
ba6e935177 Protect main.php 2012-09-21 19:48:50 +12:00