설정법
HTTP Get Method 캐시 막기
일상코딩
2021. 2. 1. 22:49
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0.
response.setHeader("Expires", "0"); // Proxies.
참고:
stackoverflow.com/questions/49547/how-do-we-control-web-page-caching-across-all-browsers