# flush nginx cachealias flush-nginx-cache='touch /var/cache/ngx_pagespeed/cache.flush'
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=spkg_cache:10m max_size=5g inactive=60m use_temp_path=off;
pagespeed on;pagespeed FileCachePath "/var/cache/ngx_pagespeed";pagespeed DisableRewriteOnNoTransform off;pagespeed EnableFilters prioritize_critical_css;
### Gzip Settings##
gzip on;gzip_disable "msie6";
gzip_proxied no-cache no-store private expired auth;gzip_comp_level 6;gzip_buffers 16 8k;gzip_types text/plain
text/css application/json application/ld+json application/x-javascript text/xml application/xml application/xhtml+xml application/xml+rss text/javascript application/javascript image/svg+xml font/ttf font/otf font/opentype application/x-font-ttf application/x-font-otf application/x-font-opentype;
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/OwLgpnXQT8w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
Indeed, I am using X-Page-Speed: 1.11.33.4-0, and I was trying to determine the version when I saw the following header in Postman:`Vary: Accept-Encoding, Accept-Encoding (repeats dozens of times)`
I am hesitant to upgrade to the 1.12.34.2-beta build on a production server. I wonder if there’s any tweaks I can make to the configuration instead?
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsubscri...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/OwLgpnXQT8w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-discuss+unsubscri...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-discuss+unsubscri...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
Well, I did the upgrade against my better judgement ;) now I am getting ERR_CONTENT_DECODING_FAILED on every .svg that the site serves.Here’s sample response headers for one of the SVGs:HTTP/1.1 200 OK Content-Type: image/svg+xml Connection: keep-alive Server: nginx/1.11.12 Last-Modified: Fri, 28 Oct 2016 22:14:20 GMT ETag: "5813cdbc-12b6" Pragma: public Accept-Ranges: bytes Date: Thu, 30 Mar 2017 20:33:04 GMT Vary: Accept-Encoding X-Original-Content-Length: 4790 Content-Encoding: gzip Content-Length: 1589 ETag: "5813cdbc-12b6" Pragma: public Cache-Control: max-age=31536000, public, must-revalidate, proxy-revalidate, max-age=31536000, public, must-revalidate, proxy-revalidate, s-maxage=10 Accept-Ranges: bytesas you can see, the ‘ETag’ and ‘Pragma: public’ are repeated (not sure if this is the issue)Here’s the attributes pagespeed is putting on those tags: data-pagespeed-url-hash="3244117783" onload="pagespeed.CriticalImages.checkImageForCriticality(this);I have flushed the cache. Any ideas? I’m going to disable pagespeed until I have a better grasp on what’s happening here.
On March 30, 2017 at 13:35:59, 'Joshua Marantz' via ngx-pagespeed-discuss (ngx-pagesp...@googlegroups.com) wrote:
No, but we will at some point push 1.12 to stable anyway. I'm not sure how long that will take exactly, but I can tell you that we do not plan any more code-changes from the current 1.12 beta.
On Thu, Mar 30, 2017 at 3:22 PM, Ryan Lederman <ry...@getsparkage.com> wrote:
Indeed, I am using X-Page-Speed: 1.11.33.4-0, and I was trying to determine the version when I saw the following header in Postman:`Vary: Accept-Encoding, Accept-Encoding (repeats dozens of times)`
I am hesitant to upgrade to the 1.12.34.2-beta build on a production server. I wonder if there’s any tweaks I can make to the configuration instead?
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/OwLgpnXQT8w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ngx-pagespeed-discuss/OwLgpnXQT8w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.