Support » Plugin: Network Nginx Proxy Cache Purge » Single Site Purging

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ron Rennick


    MultiSite Guru

    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.

    Thanks for the deeper explanation on this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Single Site Purging’ is closed to new replies.