Lofesa commented on issue #1749: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1749#issuecomment-1169626297
@danidorado Normally I use some like `pagespeed Domain http*://*.surfcampmaldives.com;` This covers both versions, http and https and all subdomains By default pagespeed Domain only covers the http version Take care of pagespeed LoadFromFile. When you use it, there is no http request so resources have no http headers. If pagespeed don't see any cache-control header, then apply a default of 300 (if I remember) so the optimized resource only lives these 300s in the pagespeed cache. You need to addç pagespeed LoadFromFileCacheTtlMs implicit_cache_ttl_in_milliseconds; Or any other custom header (those added to request with the nginx add_header), with pagespeed AddResourceHeader In the config you posted I can't see pagespeed FetchHttps enable; pagespeed SslCertDirectory directory; pagespeed SslCertFile file; https://www.modpagespeed.com/doc/https_support#configuring_ssl_certificates So maybe these are causing troubles. -- 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-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org