Rollback to gzip on logs?

750 views
Skip to first unread message

Jose Luis Moya

unread,
Mar 5, 2019, 8:01:37 AM3/5/19
to ngx-pagespeed-discuss
My nginx log show:
XXXXX   pagespeed: rollback gzip, explicit configuration in /etc/nginx/nginx.conf:39

and I see many cases where pagespeed is returning gzip compression instead of brotli even if the client supports it.


My nginx conf (line 39 is the second) is:
        #gzip
        gzip on;
        gzip_disable "msie6";
        gzip_http_version 1.1;
        gzip_vary on;
        gzip_comp_level 6;
        gzip_buffers 16 8k;
        gzip_proxied any;
        gzip_types *;

        # Brotli Settings
        brotli on;
        brotli_comp_level 4;
        brotli_buffers 32 8k;
        brotli_min_length 100;
        brotli_static on;
        brotli_types image/jpeg image/bmp image/svg+xml text/plain text/css application/json application/javascript application/x-javascrip$

Should the order be reversed? Is this because nginx is already supplying it compressed?


Otto van der Schaaf

unread,
Mar 5, 2019, 8:03:54 AM3/5/19
to ngx-pagesp...@googlegroups.com
You can ignore that message, indeed it is just the module logging about it observing that gzip is already configured, and that it is backing out of any changes it was planning for.

Otto

--
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.
Reply all
Reply to author
Forward
0 new messages