mod_cache specific URL

Alles, was den Apache betrifft, kann hier besprochen werden.

mod_cache specific URL

Postby seifdean » 27. December 2013 17:26

Hi guys,

I need to cache a specific URL in my application, so i had used mod_cache & mod_disk_cache

LogLevel debug
CacheIgnoreQueryString On
CacheIgnoreCacheControl Off
CacheIgnoreNoLastMod On
CacheIgnoreHeaders Set-Cookie
CacheStoreNoStore On
CacheDefaultExpire 3600
CacheMaxExpire 86400
CacheStorePrivate Off
CacheRoot /usr/local/apache/cache/
CacheEnable disk /target/toto/
CacheMaxFileSize 100000000
CacheMinFileSize 1
CacheDirLevels 5
CacheDirLength 3

The page is toto

The log said:

[Fri Dec 27 17:20:36 2013] [debug] mod_cache.c(141): Adding CACHE_SAVE filter for /target/toto
[Fri Dec 27 17:20:36 2013] [debug] mod_cache.c(148): Adding CACHE_REMOVE_URL filter for /target/toto

But the page was not cached can anyone help me, how to customize my cache, and how allow or disallow caching of javascripts & images & flash?
Posts: 1
Joined: 27. December 2013 17:19
Operating System: Linux CentOS

Return to Apache

Who is online

Users browsing this forum: No registered users and 22 guests