Control Web Panel
WebPanel => Apache => Topic started by: belrpr on July 03, 2018, 06:29:03 PM
-
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?
-
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.
-
You just saved me. Pagespeed was working only sometimes, this was driving me nuts