Get the most out of your Centmin Mod LEMP stack
Become a Member

What are the optimal mod_pagespeed settings to compress images?

Discussion in 'Blogs & CMS usage' started by Justin, Jul 25, 2017.

  1. Justin

    Justin New Member

    5
    0
    1
    Sep 30, 2014
    Ratings:
    +1
    Local Time:
    3:40 PM
    Hi, so I'm having a bit of trouble getting a respectable score on pagespeed insights, and I wanted to know if anyone could give me some recommendations on what to include in my pagespeed.conf.

    My site is flashfed.com and I'm currently using the .09 beta with redis nginx and opcode cache. My main issue seems to be getting my images properly compressed, but it seems like there's a few large images that refuse to compress. Should I enable pagespeed caching? I'm not sure; I've only used pagespeed with the memcached option.

    Any other advice regarding optimization is welcome. Thanks.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    8:40 AM
    Nginx 1.13.x
    MariaDB 5.5
    Might help Nginx PageSpeed - This forum's pagespeed.conf but out of box ngx_pagespeed's pagespeed.conf in Centmin Mod disables image resizing etc and lets end users configure as it can be more resource intensive. The example pagespeed.conf I linked to has it enabled etc etc.
     
  3. Justin

    Justin New Member

    5
    0
    1
    Sep 30, 2014
    Ratings:
    +1
    Local Time:
    3:40 PM
    Hey eva2000, thanks for the reply. I'll try it out and post my results.