You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2022/03/02 08:13:26 UTC
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1746: PageSpeed Serf fetch failure rate extremely high; only 4 of 12 recent fetches fully successful; is fetching working?
Lofesa commented on issue #1746:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1746#issuecomment-1056530317
Hi
The error message tell us that Serf is not working. Serf is the headless browser pagespeed uses for fecht the resources.
About you config:
>pagespeed HttpCacheCompressionLevel 9;
This line makes pagespeed to store optimized resources gziped, and serve it as gzip. To serve it with brotli compression you need to set it to 0, then optimized resources are stored w/o compression and brotli compress it on the fly.
>pagespeed Domain https://www.mcmo.is;
>pagespeed Domain https://mcmo.is;
These lines can be simplified:
pagespeed Domain http*://*.mcmo.is;
This cover http and https versions of a url and all subdomains and the main domain.
And the most probable error origin is:
>pagespeed FetchHttps enable;
This MUST be set with this other line:
pagespeed SslCertDirectory directory;
where directory, in a default ubuntu/debian distro is:
/etc/ssl/certs
Think in Serf as a browser, it need the CA root or intermediates certificates to validate the certificates your web server uses.
An altertative to fecht https resources is:
pagespeed LoadFromFile "https://www.mcmo.is" "/var/www/mcmo.is";
pagespeed ImplicitCacheTtlMs implicit_cache_ttl_in_milliseconds;
Read these:
https://www.modpagespeed.com/doc/domains#ModPagespeedLoadFromFile
https://www.modpagespeed.com/doc/system#implicit_cache_ttl
--
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.
To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org