-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Caching #55
Comments
I would like to work on this enhancement. Can I start working on this? |
Hi. Thanks for working on this. I'm noticing that I'm still getting a 200 response instead of 304. It's still downloading the resource. I don't see an etag in the response headers from cloudflare. Is this working as intended? |
Some websites don't manage etag response header. |
For me everything is cached. I need to fetch new data on every 15s. Is there a way to bypass cache? |
I put in a hack which greatly improves performance. It returns a 304 if the user has a cached version and doesn't check to see if there is a new version.
|
Is there a way to prevent the server from returning a cached response? I'm getting a resource in a previous state when I know it has changed since the last time I fetched it. |
same. would like to bypass cache please |
Would also like to force uncached requests. Maybe allow uncached when this header is send: {headers: {'Cache-Control': 'no-cache'}} |
I was able to get uncached results by appending a random number as a get parameter. See below. |
Can a response ever be cached? I'm noticing it always downloads the resource I request even if it hasn't changed.
The text was updated successfully, but these errors were encountered: