Apache에서 이미지 캐싱 처리(mod_expires) 등록일:2007-07-05 10:49:14 by 좋은진호 apache에서는 mod_expires 모듈을 통해 Expires HTTP header 를 설정할 수 있다. 이를 통하여 클라이언트(웹페이지 방문자)에 캐싱되는 문서나 이미지들이 많아서 트래픽을 감소시킬 수 있다. 이미지 전용 서버나 이미지 디렉토리에 설정을 해두면 효과적이다. 이미지 서버에 지정한 다음 예를 보자. ExpiresActive On ExpiresDefault "access plus 1 month" # 제외할 디렉토리 ExpiresActive Off /usr/local/apache/bin/apxs -aic mod_expires.c - ExpiresActive On 지시자로 Exp..