<?php
$cachetime = (60*60*24*30);
header('Cache-Control: public, max-age='.$cachetime);
header('Last-Modified: '.gmdate('D, d M Y H:i:s') . ' GMT' );
header('Expires: '.gmdate('D, d M Y H:i:s', time() + $cachetime). ' GMT');
?>
标签:none
发布时间:July 7, 2014 // 分类:PHP // No Comments
<?php
$cachetime = (60*60*24*30);
header('Cache-Control: public, max-age='.$cachetime);
header('Last-Modified: '.gmdate('D, d M Y H:i:s') . ' GMT' );
header('Expires: '.gmdate('D, d M Y H:i:s', time() + $cachetime). ' GMT');
?>
标签:none