Network Nginx Proxy Cache Purge
[resolved] Single Site Purging (3 posts)

  1. Alex Phelps
    Posted 2 years ago #

    Hi Ron,

    Does this plugin work to purge the cache of just 1 site at a time as well?

    I'm looking for how to have these 2 options:
    1. Purge Single Site Cache
    2. Purge Entire Network Cache

    Thanks in advance.



  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    To purge the entire network you can restart/reload nginx.

    There isn't anything for purging all of a single site due to the number of URLs that need to be purged in a typical site. The proxy cache key is a MD5 of the URL so there is no direct connection between cached content and a particular site in the network.

    Having said that, you could write something to go through all of the posts and build an array of URLs to be purged if the site did not have a lot of content. The readme has some documentation on the functions you could use to retrieve the URLs per post, page, etc.

  3. Alex Phelps
    Posted 2 years ago #

    Thanks for the deeper explanation on this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Network Nginx Proxy Cache Purge
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.