Answer the question
In order to leave comments, you need to log in
Why doesn't nginx_pagespeed compress images?
There is site.com, all pictures are shown either directly from content.site.com, or they are thrown there by a redirect. Everything seems to be correct, but the pictures have not become smaller, in principle, nothing has changed.
nginx 1.6.3
pagespeed 1.92.3
created folders /var/ngx_pagespeed_cache_{name} with rights www-data:www-data/755
config for site.com:
pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache_com;
pagespeed EnableFilters combine_css,remove_comments,inline_images;
pagespeed ImageInlineMaxBytes 2048;
pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache_content;
pagespeed EnableFilters rewrite_images,recompress_jpeg,recompress_png,resize_images;
pagespeed InPlaceResourceOptimization on;
pagespeed JpegRecompressionQuality 85;
pagespeed ImageRecompressionQuality 85;
Answer the question
In order to leave comments, you need to log in
Run the manual optimizer with parameters 85 for jeeps, as a variant of the picture is already optimized
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question