New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Mod Pagespeed not working (Solution)

Started by belrpr, July 03, 2018, 06:29:03 PM

Previous topic - Next topic

belrpr

Hi,

I've followed the guide from:
http://wiki.centos-webpanel.com/how-to-install-mod_pagespeed

but there is a little error in it.
The config:
/usr/local/apache/conf.d/pagespeed.conf

contains:
ModPagespeedFileCachePath            "/var/mod_pagespeed/cache/"

So you need to change this location to
ModPagespeedFileCachePath     "/var/cache/mod_pagespeed"

Because the wiki creates the cache file:

mkdir -p /var/cache/mod_pagespeed/
chown -R nobody:nobody /var/cache/mod_pagespeed/


So either change the config or lets change the wiki.
Anyone know how to contact the wiki person?


monkeyking

What want kind of websites are you running? If you're running WordPress I think it's better to use these two plugins together, Autoptimize and WP Super Cache. I used to install Mod Pagespeed on my server while it helps but it breaks other scripts. I end up disabling it for many scripts because it doesn't work with mod_pagespeed enabled.

Anyways, I think those 2 plugins together work just as good or even better. Plus Varnish, it's get even more awesome.

lucaslealdev

You just saved me. Pagespeed was working only sometimes, this was driving me nuts