cache control 수정
This commit is contained in:
@@ -21,6 +21,7 @@ class WebUtil
|
|||||||
{
|
{
|
||||||
if (!headers_sent()) {
|
if (!headers_sent()) {
|
||||||
header('Expires: Wed, 01 Jan 2014 00:00:00 GMT');
|
header('Expires: Wed, 01 Jan 2014 00:00:00 GMT');
|
||||||
|
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||||
header('Pragma: no-cache');
|
header('Pragma: no-cache');
|
||||||
|
|||||||
Reference in New Issue
Block a user