caddy-cache
caddy-cache copied to clipboard
Cache control to delete cached pages?
Great module!!! Is a cache control planned to delete full cache or single cached pages? For example with a HTTP request or an admin api?
Yes, I have updated readme.md with that feature. I think it could be a request with a DELETE method and some header. From what I've been reading caddy will add an admin api in version 1.0, so that's another alternative.
Any update on this? Is this in progress already?
@casdr I work on this project from time to time. I will probably look into this the next time
Is cache control / delete pages from cache planned to add?
@pwFoo same response as before. I only work in this project from time to time. PR are welcome, though. If you want to work on this, I would be glad to help you and merge it into this repo.
Hi @nicolasazrak, thanks for feedback. I'm not a Go programmer, so I think I can't write a PR with needed code quality. But it's fine for now.
This would be a killer feature. Especially, if it supports surrogate keys as described in some RFC and as available with Fastly: https://docs.fastly.com/en/guides/getting-started-with-surrogate-keys