Merge pull request #4743 from IgorNadj/cache-headers

FIX: prevent use cache on browser back button
This commit is contained in:
Daniel Hensby 2015-11-11 14:05:12 +00:00
commit 8e2fa4d225

View File

@ -384,7 +384,7 @@ class HTTP {
// prefer the caching information indicated through the "Cache-Control" header.
$responseHeaders["Pragma"] = "";
} else {
$responseHeaders["Cache-Control"] = "no-cache, max-age=0, must-revalidate, no-transform";
$responseHeaders["Cache-Control"] = "no-cache, no-store, max-age=0, must-revalidate, no-transform";
}
}