code:
......
// For an additional layer of protection we'll see if the browser
// sent us a last-modified date and compare that with $newestFile
// If there's no change we'll send a cache control header and die.
if (isset($headers['If-Modified-Since'])) {
if ($lmt <= strtotime($headers['If-Modified-Since'])) { // <----
here
// No change so send a 304 header and terminate
header('Last-Modified: '.$lmt_str.' GMT', true, 304);
exit;
}
}