WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Adding nginx micro caching to purging? (2 posts)

  1. natostanco
    Member
    Posted 1 year ago #

    Hello I am using nginx micro caching, to remove the cache I have to do it manually from ssh with "rm -Rf /var/cache/nginx/*" . Is it possible to add this command to the empty all caches function of w3tc?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. rahul286
    Member
    Posted 1 year ago #

    No. Actually it will be dangerous to run rm -rf from a PHP plugin.

    You can use a plugin like: http://wordpress.org/extend/plugins/nginx-helper/

    It will automatically flush cache whenever a post is edited, a comment is approved, etc

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.