wafedsf5 opened a new issue #1728:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1728


   Good night programmers, I've been having a problem with pagespeed for some 
time now, which led me to disable it in the past, but at the moment I really 
wanted to solve the problem and start using pagespeed.
   
   To try to explain the problem, when I'm using pagespeed all the static 
content becomes unreadable, and I can give you some example on a CSS file: 
Without pagespeed: https://i.imgur.com/qgmZeER.png With pagespeed: 
https://i.imgur.com/o9oLeCi.png This happens in CSS & JS.
   
   I tried to default configurations that I found on the internet, my own 
configurations, disabling each setting... Nothing seems to work, I'm using 
nginx as Reverse Proxy, and connections are being passed with proxy_pass Nginx 
version: OpenResty 1.19.3.1 PageSpeed version: v1.13.35.2-stable PSOL is also 
configured for the v1.13.35.2 version.
   
   Server Block:
   
   Pagespeed configurations
   
   Server block:
   ```
   pagespeed on;
   pagespeed RewriteLevel OptimizeForBandwidth;
   
   location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
   add_header "" "";
   }
   location ~ "^/pagespeed_static/" { }
   location ~ "^/ngx_pagespeed_beacon$" { }
   
   ## PageSpeed Cache Purge
   pagespeed EnableCachePurge on;
   pagespeed PurgeMethod PURGE;
   pagespeed DownstreamCacheRewrittenPercentageThreshold 95;
   
   ## Minify
   pagespeed EnableFilters combine_heads;
   pagespeed EnableFilters collapse_whitespace;
   pagespeed EnableFilters convert_meta_tags;
   pagespeed EnableFilters elide_attributes;
   pagespeed EnableFilters pedantic;
   pagespeed EnableFilters remove_comments;
   pagespeed EnableFilters remove_quotes;
   pagespeed EnableFilters trim_urls;
   pagespeed EnableFilters outline_css;
   pagespeed EnableFilters combine_css;
   pagespeed EnableFilters inline_import_to_link;
   pagespeed EnableFilters inline_css;
   pagespeed EnableFilters inline_google_font_css;
   pagespeed EnableFilters move_css_above_scripts;
   pagespeed EnableFilters move_css_to_head;
   pagespeed EnableFilters prioritize_critical_css;
   pagespeed EnableFilters rewrite_css;
   pagespeed EnableFilters fallback_rewrite_css_urls;
   pagespeed EnableFilters rewrite_style_attributes_with_url;
   pagespeed EnableFilters combine_javascript;
   pagespeed EnableFilters canonicalize_javascript_libraries;
   pagespeed EnableFilters inline_javascript;
   ## Speed-up
   pagespeed EnableFilters dedup_inlined_images;
   pagespeed EnableFilters inline_preview_images;
   pagespeed EnableFilters resize_mobile_images;
   pagespeed EnableFilters lazyload_images;
   pagespeed EnableFilters inline_images;
   pagespeed EnableFilters convert_gif_to_png;
   pagespeed EnableFilters convert_jpeg_to_progressive;
   pagespeed EnableFilters recompress_jpeg;
   pagespeed EnableFilters recompress_png;
   pagespeed EnableFilters recompress_webp;
   pagespeed EnableFilters strip_image_color_profile;
   pagespeed EnableFilters strip_image_meta_data;
   pagespeed EnableFilters jpeg_subsampling;
   pagespeed EnableFilters convert_png_to_jpeg;
   pagespeed EnableFilters resize_images;
   pagespeed EnableFilters resize_rendered_image_dimensions;
   pagespeed EnableFilters convert_jpeg_to_webp;
   pagespeed EnableFilters convert_to_webp_lossless;
   pagespeed EnableFilters insert_image_dimensions;
   pagespeed NoTransformOptimizedImages on;
   pagespeed EnableFilters sprite_images;
   ```
   
   HTTP block:
   ```
   pagespeed RespectVary off;
   pagespeed ProcessScriptVariables on;
   pagespeed FetchWithGzip on;
   pagespeed DisableRewriteOnNoTransform off;
   pagespeed SupportNoScriptEnabled false;
   pagespeed ModifyCachingHeaders on;
   pagespeed MaxCacheableContentLength -1;
   pagespeed FileCachePath /ramdisk/nginx/cache/ngx_pagespeed/;
   pagespeed FileCacheSizeKb            102400;
   pagespeed FileCacheCleanIntervalMs   3600000;
   pagespeed FileCacheInodeLimit        500000;
   pagespeed LRUCacheKbPerProcess     1024;
   pagespeed LRUCacheByteLimit        16384;
   pagespeed MemcachedThreads 8;
   pagespeed MemcachedServers "localhost:11211";
   ```


----------------------------------------------------------------
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


Reply via email to