zevnikrok commented on issue #1642: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1642#issuecomment-681093808
uf..., so much for promising to post working configuration :) This is our production version, working acceptable ok, google still makes lots of suggestions, and it doesn't rate page really well. Keep in mind we have multiple hosts, which serve almost the same content: www.host.com, w2.host.com, www.host.eu, www.host.fr ... pagespeed on; pagespeed Domain https://*.host.*; pagespeed MapOriginDomain https://www.host.com https://*.host.*; pagespeed FileCachePath /var/ngx_pagespeed_cache; pagespeed ListOutstandingUrlsOnError on; pagespeed RewriteLevel PassThrough; pagespeed EnableFilters inline_images,recompress_images,convert_to_webp_lossless,resize_rendered_image_dimensions,resize_images,responsive_images,responsive_images_zoom,lazyload_images,rewrite_css,prioritize_critical_css,combine_css,add_head,fallback_rewrite_css_urls,rewrite_css,flatten_css_imports,inline_css,rewrite_style_attributes,inline_import_to_link,convert_meta_tags,rewrite_javascript,inline_javascript; pagespeed ImagePreserveURLs on; pagespeed Statistics on; pagespeed StatisticsLogging on; pagespeed LogDir /var/log/pagespeed; pagespeed MessageBufferSize 1000000; pagespeed EnableCachePurge on; pagespeed FetchHttps enable,allow_unknown_certificate_authority; pagespeed SslCertDirectory /etc/pki/tls/certs; pagespeed SslCertFile /etc/pki/tls/cert.pem; I hope it helps ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org