Mobile app version of vmapp.org
Login or Join
Ravi8258870

: Mod_pagespeed not compressing images mod_pagespeed is not compressing images on my homepage. My current config has: AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html What is the usual setting

@Ravi8258870

Posted in: #PageSpeed

mod_pagespeed is not compressing images on my homepage.

My current config has:

AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html


What is the usual setting people use for mod_pagespeed to get all the CSS, images, JS, etc. benefit?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

It turns out the because the images weren't cacheable due to some headers pagespeed would not process the images. Make sure the images are cacheable.
developers.google.com/speed/pagespeed/module/faq

Your resources (images, css, javascript) aren't cacheable. If
PageSpeed sees cache-control headers such as nocache or private it
will not rewrite the resources.

10% popularity Vote Up Vote Down


 

@Angie530

ModPagespeedEnableFilters move_css_to_head,move_css_above_scripts
ModPagespeedEnableFilters remove_comments,collapse_whitespace
ModPagespeedEnableFilters combine_javascript,convert_jpeg_to_webp

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme