N
N
Nurlan2015-05-27 16:24:07
Google
Nurlan, 2015-05-27 16:24:07

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;

config for content.site.com:
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;

Any idea why the images are not being compressed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-05-28
@opium

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 question

Ask a Question

731 491 924 answers to any question