▲>>1341723
вот, если тебе интересно:
>Cache-Control: max-age=86400, private, must-revalidate
$grep 'modified since' -A 10 ponyaba.php
bdl_debug('modified since - ' . $_SERVER['HTTP_IF_MODIFIED_SINCE']);
$last_modified = cache_get_time($tpl_layer2_file);
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && ($last_modified !== false)) {
$is_modified_since = strtotime(substr($_SERVER['HTTP_IF_MODIFIED_SINCE'], 5));
if ($is_modified_since && $is_modified_since > $last_modified) {
bdl_debug('modified hit');
header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified');
exit;
}
}