Answers for "http headers prevent caching"

3

no cache html

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Posted by: Guest on April-03-2020
0

Cache-Control: no-cache, no-store Expires: 0 Pragma: no-cache

header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
Posted by: Guest on November-09-2020

Browse Popular Code Answers by Language