(❀╹◡╹)
[ASP] Response.Expires 설정 본문
<% Response.Expires = -1 %>
ASP 페이지를 사용자가 요청할때마다 서버로부터 새로이 불러오게 됨
이와 같이 설정할 경우 매번 페이지를 불러오게되어 부하가 걸릴 수 있으므로
수정이 자주 일어나지 않는 페이지에는 사용하지 않고 휘발성 페이지에 사용하는 것이 적합
<% Response.expires = 0 %>
<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %>
캐시를 아예 사용을 안 하는 경우 사용
참고 사이트 : https://support.microsoft.com/ko-kr/help/234067/how-to-prevent-caching-in-internet-explorer
'Programing > WEB' 카테고리의 다른 글
[ASP] 변수 선언 (Dim, ReDim) (0) | 2019.09.10 |
---|---|
[ASP] IP 확인 (0) | 2019.09.10 |
[PHP] 특정 IP에서만 작동하도록 (0) | 2019.05.15 |
[JS] input type="file" 확장자 제한, 초기화 (0) | 2018.12.28 |
[PHP + JS] select2 data ajax 처리 (0) | 2018.12.27 |