• I’m using both Nginx Cache and Redis Object Cache. I’d like to clear both caches as part of an automated deployment. ‘wp cache flush’ clears the Redis cache, but not the Nginx cache.

    What is the best way to clear both caches from a shell script? Should I run ‘wp cache flush’ and then delete the contents of the /cache directory?

    Thanks

  • The topic ‘wp cache flush doesn’t clear cache’ is closed to new replies.