pagespeed rewrites "/css/file.css" to "http://domainurl/css/file.pagespeedstuff.css"
thus this can attempt to pull the css file from a server behind the load balancer that hasn't created the pagespeed css file
i want each server to pull the css from the local pagespeed cache and not through the load balancer
pagespeed rewrites "/css/file.css" to "http://domainurl/css/file.pagespeedstuff.css"
thus this can attempt to pull the css file from a server behind the load balancer that hasn't created the pagespeed css file
i want each server to pull the css from the local pagespeed cache and not through the load balancer
Hi Jeremy
Yes I tried this before I posted but couldn't get it to change anything. Not sure whether the fact that I'm testing this using an ip address makes any difference, but I tried:
ModPagespeedMapOriginDomain localhost http://ipaddress
ModPagespeedMapOriginDomain localhost *.ipaddress
ModPagespeedMapOriginDomain localhost *ipaddress
ModPagespeedMapOriginDomain localhost ipaddress
ModPagespeedMapOriginDomain http://localhost http://ipaddress
ModPagespeedMapOriginDomain localhost / (caused a problem in google_url.cc)
Jonathan
Matt, to answer your question, if it was just a case of slow requests that would be not only acceptable, but preferable behaviour as you suggest. Unfortunately, missing images and badly formatted pages aren't acceptable for the users.
12/Mar/2015:10:19:06 +0100: 192.168.1.1 (ip.address.here.wh, 216.137.58.43): messagebird.com/frontend-assets/images/cases/gif/234x174xamberalert-500x500.gif.pagespeed.ic.jYKOBa9lq-.webp -> - [404] [u: - r: 5.015]12/Mar/2015:10:19:06 +0100: 192.168.1.1 (ip.address.here.wh, 216.137.58.43): messagebird.com/frontend-assets/images/references/xarjandejong.png.pagespeed.ic.nq0lJAzpOQ.webp -> - [404] [u: - r: 5.062]12/Mar/2015:10:19:06 +0100: 192.168.1.1 (ip.address.here.wh, 216.137.58.43): messagebird.com/frontend-assets/images/references/xjaapvantriet.png.pagespeed.ic.eFczgC8zaK.webp -> - [404] [u: - r: 5.052]12/Mar/2015:10:19:06 +0100: 192.168.1.1 (ip.address.here.wh, 216.137.58.43): messagebird.com/frontend-assets/images/cases/gif/234x174xtnw-500x500.gif.pagespeed.ic.gTxXxWxbNj.webp -> - [404] [u: - r: 5.026]12/Mar/2015:10:19:07 +0100: 192.168.1.1 (ip.address.here.wh, 216.137.58.43): messagebird.com/frontend-assets/images/cases/gif/234x174xdominos-500x500.gif.pagespeed.ic.PVDwWKYSWd.webppagespeed on;
pagespeed RewriteLevel PassThrough;
pagespeed MemcachedServers "127.0.0.1:11211";pagespeed FileCachePath /var/ngx_pagespeed_cache;
# Ensure requests for pagespeed optimized resources go to the pagespeed handler# and no extraneous headers get set.location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" "";}
location ~ "^/ /" { }location ~ "^/ngx_pagespeed_beacon$" { }
# pagespeed MapRewriteDomain cdn.messagebird.com *messagebird.com;# pagespeed RespectXForwardedProto on;# pagespeed FetchHttps enable;# pagespeed MapRewriteDomain "https://cdn.messagebird.com" "https://www.messagebird.com"
pagespeed EnableFilters make_google_analytics_async;pagespeed EnableFilters rewrite_images;pagespeed EnableFilters convert_jpeg_to_progressive;pagespeed EnableFilters convert_png_to_jpeg;pagespeed EnableFilters convert_jpeg_to_webp;pagespeed EnableFilters convert_to_webp_lossless;pagespeed EnableFilters inline_images;pagespeed EnableFilters recompress_images;pagespeed EnableFilters recompress_png;pagespeed EnableFilters recompress_webp;pagespeed EnableFilters resize_images;pagespeed EnableFilters resize_rendered_image_dimensions;pagespeed EnableFilters resize_mobile_images;pagespeed EnableFilters collapse_whitespace;pagespeed EnableFilters in_place_optimize_for_browser;pagespeed EnableFilters pedantic;pagespeed EnableFilters insert_dns_prefetch;> email to mod-pagespeed-discuss+unsub...@googlegroups.com.
> email to mod-pagespeed-discuss+unsub...@googlegroups.com.