Skip to content

trepmal/nginx-cache-purge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx selective cache purge

This is configured based on the following nginx configuration options:

  • fastcgi_cache_key should be "$scheme://$host$request_uri";
  • in fastcgi_cache_path levels should be 1:2

nginx-purge-plugin.php is a WordPress plugin

purge.php receives the request to purge a particular cache. It can also be used to purge a cache from the command line. e.g. php purge.php {url}

purge-sample.conf is a sample nginx conf for where purge.php might reside


wish list // to do list

  • purge archive caches as needed
  • more magic?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages