Skip to content

조회 수 14662 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
mod_expires모듈을 사용할경우 이미지가 많은 (사진사이트나, 사진전용서버)에서 유용한 모듈이다. 설정을 해주면 브라이저캐쉬를 사용하여 서버의 부하나 속도가 향상된다. 내사이트에는 이미지들이 많이없어 체감속도를 많이는 느끼지 못했다^^;
아래처럼 설정할경우 브라우저캐쉬에 1달간 보관된다.

<IfModule mod_mod_expires.c>
ExpiresActive On
ExpiresByType image/bmp "access plus 1 month"
ExpiresByType image/cgm "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/tiff "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType video/mpeg "access plus 1 month"
ExpiresByType video/quicktime "access plus 1 month"
ExpiresByType video/x-msvideo "access plus 1 month"
ExpiresByType audio/basic "access plus 1 month"
ExpiresByType audio/midi "access plus 1 month"
ExpiresByType audio/mpeg "access plus 1 month"
ExpiresByType audio/x-aiff "access plus 1 month"
ExpiresByType audio/x-mpegurl "access plus 1 month"
ExpiresByType audio/x-pn-realaudio "access plus 1 month"
ExpiresByType audio/x-wav  "access plus 1 month"
</IfModule>

출처 : http://phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=56733&sca=&sfl=wr_subject%7C%7Cwr_content&stx=httpd.conf&sop=and

List of Articles
번호 제목 글쓴이 날짜 조회 수
» expires설정으로 브라우저캐시 ADMINPLAY 2009.04.18 14662
27 아파치 웹서버 사용 시 무단 링크 방지법 ADMINPLAY 2009.04.03 15592
26 xcache 설치 (xcache-1.2.2.tar.gz) file ADMINPLAY 2009.03.17 18362
25 아파치웹서버 모니터링하기 file ADMINPLAY 2009.03.17 16476
24 초간단 웹 페이지 로딩시간 체크법 ADMINPLAY 2009.03.17 15350
23 아파치에서 한글 파일 읽기 [mod_url 설치] file ADMINPLAY 2009.03.17 17297
22 웹 사이트 속도측정 file ADMINPLAY 2009.03.04 16462
21 Apache 1.3.12 httpd.conf 파일 한글설명 ADMINPLAY 2009.03.04 13361
20 리눅스 APM 소스설치시 에러에 대한 대처 1 ADMINPLAY 2009.01.30 15132
19 RedirectMatch (도메인포워딩) ADMINPLAY 2009.01.23 15435
18 아파치 2.X 버전에서 mod_cband를 이용한 트래픽관리 file ADMINPLAY 2009.01.17 19017
17 CGI 퍼미션 으로 웹페이지 열리지 않음 ADMINPLAY 2009.01.12 14674
16 Address already in use: make_sock:could not bind to ad... ADMINPLAY 2009.01.10 23798
15 Apache 웹페이지 한글깨짐, AddDefaultsCharset 설정 file ADMINPLAY 2009.01.03 30520
14 웹페이지에서 한글이 깨지는 현상 막기 ADMINPLAY 2009.01.03 16528
13 AWSTATS 국가별 사용자 분석 ADMINPLAY 2008.12.25 14463
12 AWSTATS 설치 ADMINPLAY 2008.12.25 23609
11 Apache 버전확인 ADMINPLAY 2008.12.23 15428
10 CGI 오류: Premature end of script headers (Internal Se... 1 ADMINPLAY 2008.12.14 14127
9 apache log 정리 ADMINPLAY 2008.12.14 13527
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234