866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
|
if ($etag === $hash && $last_modified >= $last_change) {
header('HTTP/1.1 304 Not Modified', true, 304);
exit;
}
header(sprintf('Last-Modified: %s GMT', gmdate('D, d M Y H:i:s', $last_change)));
if ($etag) {
header(sprintf('Etag: %s', $hash));
}
header('Cache-Control: private');
return false;
}
static public function transformTitleToURI($str)
|
<
<
|
<
|
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
|
if ($etag === $hash && $last_modified >= $last_change) {
header('HTTP/1.1 304 Not Modified', true, 304);
exit;
}
header(sprintf('Last-Modified: %s GMT', gmdate('D, d M Y H:i:s', $last_change)));
header(sprintf('Etag: %s', $hash));
header('Cache-Control: private');
return false;
}
static public function transformTitleToURI($str)
|