• 회원가입
  • 로그인
  • 구글아이디로 로그인

[web] 크롬 - 캐시 만료 설정 코드 + 캐시 새로고침 (= Clear Cache 크롬 확장 프로그램) ※ 클리어 캐시・캐시 삭제

6,425  
목차
  1. 캐시 만료 설정 코드
  2. 크롬 캐시 새로고침 자동 설정 (= Clear Cache 크롬 확장 프로그램)

 

캐시 만료 설정 코드

/.htaceess 파일에 삽입 (※ 없으면 생성)

 

<IfModule mod_expires.c>

ExpiresActive On

ExpiresDefault "access plus 1 seconds"

ExpiresByType image/x-icon "access plus 2592000 seconds"

ExpiresByType image/jpeg "access plus 2592000 seconds"

ExpiresByType image/png "access plus 2592000 seconds"

ExpiresByType image/gif "access plus 2592000 seconds"

ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"

ExpiresByType text/css "access plus 604800 seconds"

ExpiresByType text/javascript "access plus 216000 seconds"

ExpiresByType application/x-javascript "access plus 216000 seconds"

ExpiresByType text/html "access plus 600 seconds"

ExpiresByType application/xhtml+xml "access plus 600 seconds"

</IfModule>


<IfModule mod_headers.c>

<FilesMatch "\\.(ico|jpe?g|png|gif|swf)$">

Header set Cache-Control "max-age=2692000, public"

</FilesMatch>

<FilesMatch "\\.(css)$">

Header set Cache-Control "max-age=2692000, public"

</FilesMatch>

<FilesMatch "\\.(js)$">

Header set Cache-Control "max-age=216000, private"

</FilesMatch>

<FilesMatch "\\.(x?html?|php)$">

Header set Cache-Control "max-age=600, private, must-revalidate"

</FilesMatch>

Header unset ETag

Header unset Last-Modified

</IfModule>

 

※ 2592000초 = 30일

정보출처: https://codeday.me/ko/qa/20190322/129040.html

구글캐시 권장정책: 최소 1주일 ~ 최대 1년

 

크롬 캐시 새로고침 자동 설정 (= Clear Cache 크롬 확장 프로그램)

 

1.

Clear Cache 확장프로그램 

https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn?utm_source=chrome-app-launcher-info-dialog


2.

확장프로그램 아이콘 선택 후, 마우스 오른쪽 클릭

> 「확장 프로그램 관리」메뉴 클릭

※ 아래 주소 복사해 이동하면 한번에 옵션수정페이지로 이동 가능.

chrome-extension://cppjkneekbjaeellbfkmgnhonkkjfpdn/options.html#


3-1.
Reload 부분
Automatically reload active tab after clearing data 체크


3-2.
Data to Remove 부분
Cache 체크

 

Ctrl + F5 (캐시 새로고침)  / Ctrl + Shift + Del (임시파일제거)

 


분류 제목
talk xe쓰다가 배추빌더로 이사 예정... 1
pc 크롬(Chrome) 구글 (google) 검색창에서 엔터키(Enter키) 누르면 검색 안 되고 줄바꿈되는 에…
pc 윈도우10 - 폴더 화살표 제거
web 브라우저별 HTML5 태그 지원 확인하는 법
pc 크롬 특수문자 입력 (에러/오류) 해결 ★★★★★
money 배추빌더 홈페이지에 구글 광고 삽입 + 구글 광고 위치 정책
web 드래그 앤 드랍 (=드래그 앤 드롭 Drag and Drop) 정의
pc 유튜브 오디오 디스플레이어 (=유투브 뮤직 비쥬얼라이저 = YouTube™ Music Visualizer)
ucc 한국어팩 장착한 이란 누나 사라
web 파일질라 특정확장자파일만 다운로드 (= 문서파일만 다운 = 용량 큰 첨부파일 제외 다운로드 = 특정파일 필터…
site m3u8 재생기
girl 락킷걸 한이슬 님 (청바지 + 흰색반팔티) 스키니진패션
dance 처음처럼 가영 님 댄스 영상 - 뿜뿜
pc strokesplus (스트로크플러스, 스트록플러스) - 마우스제스처 (Mouse, Gesture)
pc 크롬 북마크바 노란색 폴더 디자인으로 복구 (How to Change Chrome Bookmark bar D…
pc 다음 팟플레이어 - 비슷한 파일 재생목록 추가 설정/해제
life 삼성 갤럭시 스마트폰 공장 초기화 방법 (= 재설치) ★★★★★ ※ 휴대폰 전원 버튼 눌러도 안 꺼질 때 조…
web ChatGPT 「Network Error (네트워크 에러)」 해결방법 ※ 챗지피티 오류 해결
pc 크롬 닫은 웹페이지 다시 열기 (= 크롬 닫은탭 복원 = 탭복구 = 탭복원 = 창복구 = 창복원 = 닫은창복…
editplus 에디트플러스 (EditPlus) - 함수목록보기 ★ (= 함수리스트 = 함수찾기) (Ctrl + F11)
147/163
목록
찾아주셔서 감사합니다. Since 2012