4 while( ob_get_level() )
9 if(array_key_exists(
"HTTP_IF_MODIFIED_SINCE",$_SERVER))
11 $date = $_SERVER[
"HTTP_IF_MODIFIED_SINCE"];
12 $if_modified_since=strtotime(
$date);
16 header(
"HTTP/1.1 304 Not Modified");
28 header(
"Cache-Control: max-age=300, must-revalidate");
29 header(
"Content-Type: text/javascript");
30 header(
"Pragma: private");
31 header(
"Expires: " . date(DATE_RFC822,strtotime(
" 2 day")));
41 header(
"Content-Length: ".strlen(
$content));
static usingFeature()
Uses the specified framework feature(s).
static getScriptsContent()
while(ob_get_level()) $last_modified
if(array_key_exists("HTTP_IF_MODIFIED_SINCE", $_SERVER)) $content