Sorry this is correct config:
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 setting, config your backend servers here
proxy.server = ( "/" =>
(
( "host" => "x.x.x.x", "port" => 80 ) # real backend
http server ip and port
)
)