cancel
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?

3 REPLIES 3

Re: Magento 2.1.7 Mod_Pagespeed

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

Sonal

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

</IfModule>

 

What kind of problem you are having with admin dashboard?

 

Re: Magento 2.1.7 Mod_Pagespeed

ModPagespeedDisallow http://www.example.com/admin/*

or you can read docs:

 

https://www.modpagespeed.com/doc/restricting_urls

------------
MagenX - Magento and Server optimization