Manually delete the cache
-
I have over 18.000 posts, so clearing the cache via the options page is a hassle, constant 500 errors until everything is deleted. Don’t get me wrong, it works, but I was wondering if I could just as well clear it via SSH?
Would this command work? Or will wp-super-cache complain / run into problems if I don’t use it’s own php functions to clear all files?
find /www/wp-content/cache/ \( -name '*.html' -or -name '*.html.gz' \) -delete
(The command deletes all .html and .html.gz files)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Manually delete the cache’ is closed to new replies.