Clear cache via CLI

planx

New Member
#1
Is it possible to clear the OLS cache for the server via a CLI/SSH? If so, what is the command? I am using the GCP WordPress Image.

Sorry if this is documented already, I could not find a reference when searching.
 

planx

New Member
#3
Thanks David! This also deletes the 'cachedata' directory. Is that ok? Is it recreated on the fly when the cache is next generated?
 
Top