Question

I can see output stats with mod_pagespeed but it does not seam to be doing anything (all stats values stay at 0).

serf_fetch_request_count: 0
serf_fetch_bytes_count: 0
serf_fetch_time_duration_ms: 0
serf_fetch_cancel_count: 0

Anyone knows what can be going wrong?

Was it helpful?

Solution

Ok, I was able to found the blaming lines on my config:

// does NOT work with mod_pagespeed 
<FilesMatch "\.(js|css|html|htm|php|xml)$"> 
   SetOutputFilter DEFLATE 
</FilesMatch> 

So if you have some fancy DEFLATE options, disable them. On the other hand the below code works.

// does WORK with mod_pagespeed 
AddOutputFilterByType DEFLATE text/html text/plain text/xml font/ 
opentype font/truetype font/woff 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top