# enable expirations
ExpiresActive On
# expire GIF images after a month in the client's cache
ExpiresByType image/gif A2592000
# HTML documents are good for a week from the
# time they were changed
ExpiresByType text/html M604800
#
# To enable a cache of proxied content, uncomment the following lines.
# See 
http://httpd.apache.org/docs/2.2/mod/mod_cache.html for more details.
#
<IfModule mod_cache.c>
        LoadModule disk_cache_module modules/mod_disk_cache.so
      
        <IfModule mod_disk_cache.c>
                CacheRoot /data/http-cache
                CacheEnable disk /
                CacheDirLevels 3
                CacheDirLength 1
                CacheIgnoreCacheControl On
                #CacheIgnoreHeaders Set-Cookie
                CacheIgnoreQueryString Off
                CacheIgnoreNoLastMod On
        </IfModule>
</IfModule>
			
		
 
	
Partager