7 header(
"Cache-Control: max-age=300, must-revalidate");
8 header(
"Content-Type: text/css");
9 header(
"Pragma: private");
10 header(
"Expires: " . date(DATE_RFC822,strtotime(
" 2 day")));
12 if(array_key_exists(
"HTTP_IF_MODIFIED_SINCE",$_SERVER))
15 $if_modified_since=strtotime($_SERVER[
"HTTP_IF_MODIFIED_SINCE"]);
19 header(
"HTTP/1.0 304 Not Modified");
25 header(
"Content-Length: ".strlen(
$content));
static usingFeature()
Uses the specified framework feature(s).
if(array_key_exists("HTTP_IF_MODIFIED_SINCE", $_SERVER)) $content