The first request is always performed even if it was cached before. #915
Unanswered
VanTigranyan
asked this question in
Q&A
Replies: 1 comment
-
I can't help you without a reproducible example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I am using Indexed DB storage for caching. In my test app, I perform the same request 3 times. I see that when the first request is made, the cache is saved, and the next subsequent requests receive the cached response. Then, if I reload the page, the first request is performed again, even though the cache persisted and could be reused on the next page load. My question is: did I do something wrong, or is this an intended behavior? If it is intended, what's the purpose, and how can I tweak it to use the existing cache? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions