Created
April 22, 2024 18:27
-
-
Save warwickandersonza/4f99ac4d21538027266cfaae3f843b53 to your computer and use it in GitHub Desktop.
Clearing cache with WP-CLI
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
# Run this at the beginning of the sessions in case the host removed packages after disconnecting | |
wp package install wp-media/wp-rocket-cli:trunk | |
# On WPEngine, this will clear all caches, including Cloudflare | |
wp rocket clean --confirm && wp cache flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment