Dear Team,
I have installed Mod-cache Stable version 1.4.4 for lighttpd 1.4.19,
and i used example config. But i didn't see any cache files in cache
folder?
This example:
cache.support-queries = "enable" #ignore '?' in url
cache.bases = ("/data/cache") #write cached files in /data/cache
directory
cache.refresh-pattern = (
"/$" => "5 update-on-refresh no-expire-header", # update homepage
every 5 minutes and on refresh requests without setting expire headers
"\.(?i)(flv)$" => "0 fetchall-for-range-request flv-streaming", # to
work with mod_flv_streaming for flv files
"\.(?i)(js|css|xml)$" => "240", # update js/css/xml every 4 hours and
on refresh requests
"\.(?i)(htm|html|shtml)$" => "30", # update html/htm/shtml every 30
minutes and on refresh requests
"\.(?i)(jpg|bmp|jpeg|gif|png)$" => "2880", # update graphics files
every 2 days
"\.(?i)(rar|zip|wmv|avi|mp3|ape|rm|mpeg|mpg|wma|asf|rmvb|flv)$" => "0
fetchall-for-range-request", # cache media file forever
"." => "30 update-on-refresh" # default to update every 30 minutes
and on refresh requests
)
#mod_proxy_core setting, config your backend servers here
proxy-core.backends = ( "x.x.x.x:80", "y.y.y.y:80")
proxy-core.balancer = "round-robin" # or "sqf" or "carp"
proxy-core.protocol = "http"
#it's important to enable proxy-core.worked-with-modcache,
# or mod_proxy_core will not cooperate with mod-cache
proxy-core.worked-with-modcache = "enable"
Please help me.