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?
Happy to help as we've set up tens of sites on M2. Let me know.
Sonal
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?
ModPagespeedDisallow http://www.example.com/admin/*
or you can read docs:
https://www.modpagespeed.com/doc/restricting_urls