헤더에 정보를 넣어 엔진엑스(nginX)에서 캐쉬 적용 안시키기(no-cache)

asp :
<%
Session.CodePage  = 65001
Response.CharSet  = "UTF-8"
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-control", "no-cache"
Response.Buffer = true
Response.Expires = -1
%>

php:
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
Previous
Next Post »