plugin-simplecache icon indicating copy to clipboard operation
plugin-simplecache copied to clipboard

Support for cache purging

Open jdoss opened this issue 5 years ago • 1 comments

Hi there,

This looks great! I am wondering if there are any plans to add in cache purging to this plugin? I am specifically looking for these kinds of features:

  • Purging via a remote request curl -s -X PURGE -i localhost/my/cached/content
  • Wildcard purging curl -s -X PURGE -i localhost/my/cached/*
  • Tag based purging https://docs.fastly.com/en/guides/purging-api-cache-with-surrogate-keys

I guess these things don't really make this caching plugin simple anymore, but being able to programmatically purge the cache makes a cached life the best life.

jdoss avatar Aug 04 '20 21:08 jdoss

Hi @jdoss if you want a tool with an API which respect the RFC-7234 + Cache-Status and other cool features, take a look at Souin. It will be suported as Træfik plugin asap. Otherwise it works well with traefik (and it's designed to work with) out of the box.

darkweak avatar Jun 23 '21 14:06 darkweak