mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Fix ETag format
This commit is contained in:
parent
151824213b
commit
dcdddffb20
@ -366,7 +366,7 @@ unset($tmp1, $tmp1);
|
||||
|
||||
$etag = md5($page);
|
||||
header("Cache-Control: must-revalidate");
|
||||
header("ETag: {$etag}");
|
||||
header("ETag: \"{$etag}\"");
|
||||
|
||||
$pref['compression_level'] = 6;
|
||||
if (strstr(varset($_SERVER["HTTP_ACCEPT_ENCODING"], ""), "gzip"))
|
||||
|
@ -290,7 +290,7 @@ $page = ob_get_clean();
|
||||
|
||||
$etag = md5($page);
|
||||
header("Cache-Control: must-revalidate");
|
||||
header("ETag: {$etag}");
|
||||
header("ETag: \"{$etag}\"");
|
||||
|
||||
$pref['compression_level'] = 6;
|
||||
$browser_support = FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user