-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add cache bypass header #406
Conversation
It seems like this breaks the tests. Could you take a look at that? |
Sure! |
I just saw what was causing the tests to fail haha I don't know if it's funny or stupid 🤦 . |
I've added a test and documented the feature, let me know what you think! |
Very nice, thank you! |
🎉 thanks for merging! |
@freekmurze we might have an issue here that I oversaw at first, please let me know what you think: I'll wait for your reply and create a new PR with the changes, if you agree. |
Ok let's add it there 👍 |
👋 hi!
What do you think of adding a way of bypassing the cache?
Our use case is that we want to monitor the performance of parts of our app, and we want to get data for both cached and non cached responses. We'd actually add this header in Oh Dear.
I was working on adding this functionality to our custom
ResponseCacheProfile
and wondered if others might find it useful too.