Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Purge mod_pagespeed cache on WHM server
# This will clear the mod_pagespeed cache on a server that's had it installed via the cPanel script here:
# The location of the cache file may change, it can be found in the pagespeed.conf file located at /usr/local/apache/conf/
# The cache location is set by ModPagespeedFileCachePath variable
touch /var/mod_pagespeed/cache/cache.flush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment