Skip to content

조회 수 14796 추천 수 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
번호 제목 글쓴이 날짜 조회 수
48 아파치 특정폴더에 암호걸기 ADMINPLAY 2008.10.08 16193
47 Apache의 Indexes된 페이지에서 한글표시 file ADMINPLAY 2009.05.07 16402
46 아파치웹서버 모니터링하기 file ADMINPLAY 2009.03.17 16626
45 웹 사이트 속도측정 file ADMINPLAY 2009.03.04 16637
44 웹페이지에서 한글이 깨지는 현상 막기 ADMINPLAY 2009.01.03 16685
43 서비스 동시접속 인원알기 ADMINPLAY 2008.10.07 17026
42 Apache Worker 방식의 이해 및 설정법 ADMINPLAY 2012.01.16 17105
41 h264 스트리밍 서버 구축(리눅스,아파치) (실시간 아님, ... ADMINPLAY 2012.08.13 17368
40 아파치에서 한글 파일 읽기 [mod_url 설치] file ADMINPLAY 2009.03.17 17443
39 apache가 worker 모드인지 prefork 모드로 동작하는지 확인 1 file l2zeo 2013.01.21 17700
38 (간단한 팁) 우분투에 Apache2 설치하기 ( apt-get ) 로키 2012.04.01 17778
37 Apache Make시 /usr/lib/libexpat.so: could not read sym... ADMINPLAY 2009.08.07 18075
36 squid 로 웹서버 가속하기..---== 강추 ==--- ADMINPLAY 2009.11.26 18364
35 xcache 설치 (xcache-1.2.2.tar.gz) file ADMINPLAY 2009.03.17 18482
34 Apache - 도메인 포워딩 ADMINPLAY 2010.08.26 18958
33 아파치 GeoIP를 이용한 국가별 제한 ADMINPLAY 2010.01.30 18965
32 웹방화벽 ModSecurity 룰적용 순서 file l2zeo 2010.05.29 19058
31 아파치(apache) 무단 링크 방지 ADMINPLAY 2011.06.18 19133
30 아파치 2.X 버전에서 mod_cband를 이용한 트래픽관리 file ADMINPLAY 2009.01.17 19199
29 mod_gzip, mod_deflate ADMINPLAY 2010.07.29 19254
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234