Merge branch 'master' of github.com:timw4mail/Easy-Min
This commit is contained in:
commit
e10af876b1
2
css.php
2
css.php
@ -74,7 +74,7 @@ if($last_modified === $requested_time)
|
||||
header("Content-Type: text/css; charset=utf8");
|
||||
header("Cache-control: public, max-age=691200, must-revalidate");
|
||||
header("Last-Modified: ".gmdate('D, d M Y H:i:s', $last_modified)." GMT");
|
||||
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'css.tsp') + 691200))." GMT");
|
||||
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'css.php') + 691200))." GMT");
|
||||
|
||||
echo $css;
|
||||
|
||||
|
2
js.php
2
js.php
@ -80,7 +80,7 @@ else
|
||||
header("Content-Type: application/x-javascript; charset=utf8");
|
||||
header("Cache-control: public, max-age=691200, must-revalidate");
|
||||
header("Last-Modified: ".gmdate('D, d M Y H:i:s', $last_modified)." GMT");
|
||||
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'js.tsp') + 691200))." GMT");
|
||||
header("Expires: ".gmdate('D, d M Y H:i:s', (filemtime($base_path.'js.php') + 691200))." GMT");
|
||||
|
||||
echo $js;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user