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

  1. No Image 04Mar
    by ADMINPLAY
    2009/03/04 by ADMINPLAY
    Views 13361 

    Apache 1.3.12 httpd.conf 파일 한글설명

  2. 웹 사이트 속도측정

  3. No Image 17Mar
    by ADMINPLAY
    2009/03/17 by ADMINPLAY
    Views 17297 

    아파치에서 한글 파일 읽기 [mod_url 설치]

  4. No Image 17Mar
    by ADMINPLAY
    2009/03/17 by ADMINPLAY
    Views 15350 

    초간단 웹 페이지 로딩시간 체크법

  5. 아파치웹서버 모니터링하기

  6. xcache 설치 (xcache-1.2.2.tar.gz)

  7. No Image 03Apr
    by ADMINPLAY
    2009/04/03 by ADMINPLAY
    Views 15592 

    아파치 웹서버 사용 시 무단 링크 방지법

  8. No Image 18Apr
    by ADMINPLAY
    2009/04/18 by ADMINPLAY
    Views 14662 

    expires설정으로 브라우저캐시

  9. Apache의 Indexes된 페이지에서 한글표시

  10. No Image 07May
    by ADMINPLAY
    2009/05/07 by ADMINPLAY
    Views 21037 

    [LINUX] Apache 2.2 + mod jk 1.2 + Tomcat 5.x 연동

  11. No Image 10May
    by ADMINPLAY
    2009/05/10 by ADMINPLAY
    Views 13767 

    [자료] 웹사이트 성능개선 위한 커널 튜닝 사례

  12. No Image 06Jun
    by ADMINPLAY
    2009/06/06 by ADMINPLAY
    Views 14617 

    Tomcat 4 과 Apache 2 연동

  13. No Image 21Jun
    by ADMINPLAY
    2009/06/21 by ADMINPLAY
    Views 13815 

    Apache 웹서버 MaxClient 최대값 조정을 위한 C & CPP 플래그 변수값

  14. No Image 18Jul
    by ADMINPLAY
    2009/07/18 by ADMINPLAY
    Views 15668 

    매일 자정에 트래픽 초기화 하기

  15. No Image 18Jul
    by ADMINPLAY
    2009/07/18 by ADMINPLAY
    Views 14217 

    apache 에서 euc-kr홈페이지를 포팅할때 화면이안나올경우

  16. No Image 05Aug
    by ADMINPLAY
    2009/08/05 by ADMINPLAY
    Views 21795 

    Unclean shutdown of previous Apache run?

  17. No Image 07Aug
    by ADMINPLAY
    2009/08/07 by ADMINPLAY
    Views 27119 

    make[2]: *** [htpasswd] 오류 1 , make[1]: *** [all-recursive] 오류 1

  18. No Image 07Aug
    by ADMINPLAY
    2009/08/07 by ADMINPLAY
    Views 17943 

    Apache Make시 /usr/lib/libexpat.so: could not read symbols: File in wrong format 에러

  19. No Image 08Aug
    by ADMINPLAY
    2009/08/08 by ADMINPLAY
    Views 21875 

    APM 기본설치후 아파치 실행에러 httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

  20. No Image 08Aug
    by ADMINPLAY
    2009/08/08 by ADMINPLAY
    Views 19574 

    아파치 컴파일 에러(apr-util) configure: error: cannet use an external APR-util with the bundled APR

Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234