브라우저 캐시 남기지 않기
Server Side/PHP2016. 8. 31. 10:30
header("Pragma: no-cache");
header("Cache: no-cache");
header("Cache-Control: no-cache, must-revalidate");
header("Expires:Mon, 26 Jul 1997 05:00:00 GMT");
// 브라우저 캐시를 남기지 말라는 뜻 최상단 헤더에 입력
'Server Side > PHP' 카테고리의 다른 글
php interface 사용방법 (0) | 2016.10.01 |
---|---|
PHP simplexml_load_file 로 XML 파싱 하기 (0) | 2016.09.08 |
코드이그나이터 설정 (0) | 2016.08.17 |
PHP PDO 작성 및 변환 예 (0) | 2016.08.15 |
classs static 활용법 (0) | 2016.08.09 |