pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-pagespeed-ngx] ws420 opened a new issue #1681: Uncacheable content, preventing rewriting of image
Date Mon, 02 Mar 2020 23:10:51 GMT
ws420 opened a new issue #1681: Uncacheable content, preventing rewriting of image
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1681
 
 
   Setup: 
   - Plesk
   - Apache with nginx in reverse proxy mode
   - Smart static files processing (Apache will process all requests for static files. nginx
will only pass requests and responses without modification)
   - Serve static files directly by nginx 
   - Enable nginx caching
   - Cloudflare
   
   Pagespeed is not working and there are tons of errors like this: Uncacheable content, preventing
rewriting of...
   
   We tried temporarily disabling Cloudflare and nginx proxy, but it didn't change anything.
   
   We tried to find a solution by searching with google. I think we need to configure downstream
cache and/or FetchHttps, but I can't find the exact steps to follow for our environment.
   I am not even sure where I should be putting the PageSpeed directives. 
   - in the htaccess?
   - or in Plesk "additional nginx directives"?
   - or in "additional Apache directives"?
   - or in /var/www/vhosts/system/example.com/conf/vhost.conf?
   - or in httpd.conf?
   - or in nginx.conf?
   - or in one of the many other .conf files?
   
   
   
   
   ```
   ModPagespeed On
   
   ModPagespeedDisableRewriteOnNoTransform off
   ModPagespeedEnableFilters rewrite_css
   ModPagespeedEnableFilters combine_css
   
   ModPagespeedEnableFilters recompress_images
   ModPagespeedEnableFilters convert_png_to_jpeg
   ModPagespeedEnableFilters convert_jpeg_to_webp
   #ModPagespeedEnableFilters convert_jpeg_to_progressive
   ModPagespeedEnableFilters convert_to_webp_lossless
   ModPagespeedEnableFilters recompress_webp
   ModPagespeedEnableFilters lazyload_images
   
   ModPagespeedEnableFilters collapse_whitespace
   ModPagespeedEnableFilters remove_comments
   ModPagespeedEnableFilters extend_cache
   ModPagespeedEnableFilters make_google_analytics_async
   
   ModPagespeedEnableFilters rewrite_javascript
   # ModPagespeedEnableFilters combine_javascript
   # ModPagespeedEnableFilters defer_javascript
   
   ModPagespeedFetchHttps enable,allow_self_signed,allow_unknown_certificate_authority
   
   AddOutputFilterByType DEFLATE text/plain text/html text/xml;
   AddOutputFilterByType DEFLATE text/css text/javascript;
   AddOutputFilterByType DEFLATE application/xml application/xhtml+xml;
   AddOutputFilterByType DEFLATE application/rss+xml;
   AddOutputFilterByType DEFLATE application/javascript application/x-javascript
   ```
   
   https://www.weedstreet420.com/?PageSpeedFilters=%20debug

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message