문제

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?

도움이 되었습니까?

해결책

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 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top