cache-control headers such as nocache or private it will not rewrite the resources.Hello all,Some filters I have enabled in my development environment, don't work in my production environment. Examples are the combine_* and image filters. Whitespace collapsing and comment and quote removal work OK. The servers are fairly similar, production has Plesk installed. What can be the cause of this? Is there a log I can view that explains pagespeed's "decisions"?Filters I have enabled in my dev env: extend_cache,collapse_whitespace,combine_css,combine_javascript,sprite_images,rewrite_css,rewrite_javascript,inline_images,recompress_images,convert_jpeg_to_webp,remove_comments,remove_quotes,convert_meta_tags,move_css_to_headPagespeed version on both environments: X-Mod-Pagespeed:1.0.22.7-2005Same pagespeed.conf that is shipped with the module, except with ModPagespeed off.Same VirtualHost configuration:<IfModule pagespeed_module>Include "/etc/apache2/mods-enabled/pagespeed.conf"ModPagespeed onModPagespeedEnableFilters extend_cache,collapse_whitespace,combine_css,combine_javascript,sprite_images,rewrite_css,rewrite_javascript,inline_images,recompress_images,convert_jpeg_to_webp,remove_comments,remove_quotes,convert_meta_tags,move_css_to_head</IfModule>Thanks for your time,
Reinier Kip
Thank you for your time, jmarantz.I've fetched the website's homepage and its global.css. The response headers are as follows.Page HTML:curl -D- http://example.com | lessDate: Wed, 17 Oct 2012 14:42:12 GMTServer: ApacheSet-Cookie: ***Set-Cookie: ***Set-Cookie: ***Cache-Control: max-age=0, no-cachePragma: no-cacheSet-Cookie: ***X-Mod-Pagespeed: 1.0.22.7-2005Vary: Accept-EncodingContent-Length: 23279Content-Type: text/html...<link href="/css/global.css" rel=stylesheet>...Fetching a CSS file (same CSS as on our development server, containing the same CSS(3) constructions):curl -D- http://example.com/css/global.css | lessDate: Wed, 17 Oct 2012 14:44:23 GMTServer: ApacheLast-Modified: Thu, 04 Oct 2012 11:54:40 GMTETag: "39474e-2a31e-4cb3a6b904000"Accept-Ranges: bytesContent-Length: 172830Vary: Accept-EncodingX-Powered-By: PleskLinContent-Type: text/css
Thanks again for your time.I am very sorry, but I have no clue as to what Serf fetches are and in what logs they should appear.The example css file, global.css is referenced as shown in the HTML a couple of posts back: without a domain:<link href="/css/global.css" rel=stylesheet>
An excerpt from the access log:x.x.x.x - - [19/Oct/2012:15:28:37 +0200] "GET /xx/xx HTTP/1.1" 200 6254 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"x.x.x.x - - [19/Oct/2012:15:36:45 +0200] "GET /css/global.css HTTP/1.1" 200 24441 "http://xx.xx/xx/xx" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4"Any use?Reinier
Thank you, I think this will solve my issue. My error log didn't show any such name resolution errors. However, while the domain does resolve to the server, it seems to resolve to a fallback virtual host, giving a 404 on resources like the CSS file.Thanks a lot for your effort!