Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save razorlegacy/8edceecae67dd962cce0896051594c38 to your computer and use it in GitHub Desktop.
Save razorlegacy/8edceecae67dd962cce0896051594c38 to your computer and use it in GitHub Desktop.
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:
# https://github.com/pagespeed/cpanel
# 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