Showing results for 
Search instead for 
Did you mean: 

Magento 2.1.7 Mod_Pagespeed

Magento 2.1.7 Mod_Pagespeed

What is the best configuration for  Google mod_pagespeed  in .htaccess file?


I have found some problem in Admin Dashboard after the activation of the module... Is itpossibileto have an help?


Re: Magento 2.1.7 Mod_Pagespeed

Happy to help as we've set up tens of sites on M2. Let me know.


Re: Magento 2.1.7 Mod_Pagespeed

Here is what we use:


<IfModule pagespeed_module>


  ModPagespeed on

  ModPagespeedFileCachePath            "/var/mod_pagespeed/cache/"

  AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

  ModPagespeedRewriteLevel CoreFilters

  ModPagespeedEnableFilters extend_cache

  ModPagespeedEnableFilters prioritize_critical_css

  ModPagespeedEnableFilters collapse_whitespace

  ModPagespeedEnableFilters resize_rendered_image_dimensions,resize_images  

  ModPagespeedImgMaxRewritesAtOnce        0

  ModPagespeedImplicitCacheTtlMs 2629746000



What kind of problem you are having with admin dashboard?


Re: Magento 2.1.7 Mod_Pagespeed


or you can read docs:

MagenX - Magento and Server optimization