petergus opened a new issue #1765: Images sporadically re-written URL: https://github.com/apache/incubator-pagespeed-mod/issues/1765 I am trying to get images to resized when the viewport is smaller. It happened sometimes (resized to the actual css size, converted in webp), but on the next reload it goes back to full size jpg. I have tried endless combinations of filters, can't figure out the trick. 90% of the time it just shows the original size jpg. Here is my configuration: ` pagespeed on; # pagespeed LoadFromFileMatch "^https?://MYDOMAIN.com/" "/var/www/web/data/www/"; # pagespeed LoadFromFileRuleMatch disallow .*; # pagespeed LoadFromFileRuleMatch allow \.css$; # pagespeed LoadFromFileRuleMatch allow \.jpe?g$; # pagespeed LoadFromFileRuleMatch allow \.png$; # pagespeed LoadFromFileRuleMatch allow \.gif$; # pagespeed LoadFromFileRuleMatch allow \.js$; # Needs to exist and be writable by nginx. Use tmpfs for best performance. pagespeed FileCachePath /var/ngx_pagespeed_cache; # Ensure requests for pagespeed optimized resources go to the pagespeed handler # and no extraneous headers get set. location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; } location ~ "^/pagespeed_static/" { } location ~ "^/ngx_pagespeed_beacon$" { } #pagespeed InPlaceRewriteDeadlineMs 0; pagespeed InPlaceResourceOptimization on; #pagespeed RewriteLevel OptimizeForBandwidth; pagespeed FileCachePath "/var/cache/pagespeed/"; pagespeed FileCacheSizeKb 102400; pagespeed FileCacheCleanIntervalMs 3600000; pagespeed FileCacheInodeLimit 500000; pagespeed EnableFilters combine_css,combine_javascript,rewrite_javascript,prioritize_critical_css,flatten_css_imports,inline_google_font_css,rewrite_style_attributes,rewrite_css,rewrite_images; # Also tried included combinations of: # responsive_images,resize_images,inline_images,resize_rendered_image_dimensions # resize_mobile_images,inline_preview_images,insert_image_dimensions,lazyload_images`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services