Skip to content

Instantly share code, notes, and snippets.

@NathanGiesbrecht
Last active December 13, 2018 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save NathanGiesbrecht/972f14f817190f222027 to your computer and use it in GitHub Desktop.
Save NathanGiesbrecht/972f14f817190f222027 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