HTML
<META http-equiv="Expires" content="-1" />
<META http-equiv="Pragma" content="no-cache" />
<META http-equiv="Cache-Control" content="No-Cache" />
PHP
<?
header("Pragma: no-cache");
header("Cache-Control: no-cache,must-revalidate");
?>
ASP
<%
Response.Expires = 0
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "Cache-Control","no-cache,must-revalidate"
%>
JSP
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
if (request.getProtocol().equals("HTTP/1.1"))
response.setHeader("Cache-Control", "no-cache");
%>
WML
<META http-equiv="Cache-Control" content="max-age=no-cache" forua="true"/>
<META http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
<META http-equiv="Expires" content="-1" />
<META http-equiv="Pragma" content="no-cache" />
<META http-equiv="Cache-Control" content="No-Cache" />
PHP
<?
header("Pragma: no-cache");
header("Cache-Control: no-cache,must-revalidate");
?>
ASP
<%
Response.Expires = 0
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "Cache-Control","no-cache,must-revalidate"
%>
JSP
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
if (request.getProtocol().equals("HTTP/1.1"))
response.setHeader("Cache-Control", "no-cache");
%>
WML
<META http-equiv="Cache-Control" content="max-age=no-cache" forua="true"/>
<META http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
'Tip&Tech > Web' 카테고리의 다른 글
[Head First HTML with CSS & XHTML] 7. 행과 열을 만나다! 웹2.0식 Table 작성법 (0) | 2008.06.30 |
---|---|
[Head First HTML with CSS & XHTML] 6. Where am I?! 레이아웃과 포지셔닝! (0) | 2008.06.29 |
[Head First HTML with CSS & XHTML] 5. Web2.0 스타일의 대표주자! Div & Span (2) | 2008.03.15 |
신종 블로그 스팸폭탄? (2) | 2008.03.14 |
[Head First HTML with CSS & XHTML] 4. CSS영화 속 주인공! Font & Color! (0) | 2008.03.03 |