Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidating cache for certain route or url #71

Closed
StephanBis opened this issue Nov 29, 2016 · 1 comment
Closed

Invalidating cache for certain route or url #71

StephanBis opened this issue Nov 29, 2016 · 1 comment

Comments

@StephanBis
Copy link

Hey,

Is it possible to invalidate the whole cache with this middleware? Is it even possible to invalidate only the cache that belongs to a certain route or url?
The docs seem to not explain this.

Kind regards,
Stephan

@Kevinrob
Copy link
Owner

Kevinrob commented Dec 1, 2016

Hey,

Not really, but you control the storage. So you can delete cache by empty the storage that you use.
Maybe a new feature to add!

By the way if you use standard strategy (private/public) you don't need to clear the cache if the server return good headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants