mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Added 'Vary' header.
This commit is contained in:
@@ -391,6 +391,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
header("X-Powered-By: e107", true); // no less secure than e107-specific html.
|
header("X-Powered-By: e107", true); // no less secure than e107-specific html.
|
||||||
|
header('Vary: Accept');
|
||||||
|
|
||||||
// should come after the Etag header
|
// should come after the Etag header
|
||||||
if ($canCache && isset($_SERVER['HTTP_IF_NONE_MATCH']))
|
if ($canCache && isset($_SERVER['HTTP_IF_NONE_MATCH']))
|
||||||
|
Reference in New Issue
Block a user