Created
August 4, 2017 17:45
-
-
Save kvn1234/ac808016001c9a8e2d6a9c080e18afde to your computer and use it in GitHub Desktop.
mod_pagespeed cache flushing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch `grep "^ *ModPagespeedFileCachePath" /etc/apache2/mods-enabled/pagespeed.conf | awk ' { print $2; } ' | sed 's/"//g'`/cache.flush | |
or | |
touch `grep "^ *ModPagespeedFileCachePath" /etc/httpd/conf.d/pagespeed.conf | awk ' { print $2; } ' | sed 's/"//g'`/cache.flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment