FIX: prevent use cache on browser back button

This commit is contained in:
Igor Nadj 2015-11-05 16:09:16 +13:00
parent 6fd2923d3b
commit f577ecb811

View File

@ -384,7 +384,7 @@ class HTTP {
// prefer the caching information indicated through the "Cache-Control" header. // prefer the caching information indicated through the "Cache-Control" header.
$responseHeaders["Pragma"] = ""; $responseHeaders["Pragma"] = "";
} else { } 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";
} }
} }