Supporting ETag and if-none-match #1388
Unanswered
RobertGardner
asked this question in
Q&A
Replies: 2 comments
-
@RobertGardner Have you found any solution to this? I'm struggling to figure out how to use refreshInterval without sending all of the data back each time if I know the client has the latest. Does anyone have a suggestion for that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I ended up implementing a custom fetcher that implemented the ETag logic. Not the greatest but it worked and wasn’t very hard. Unfortunately, I no longer work at that company so I can’t access the code to provide more details. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
My server supports ETag and if-none-match on some requests with large payloads, but SWR doesn't seem to pay attention to these out-of-the-box. What is the suggested technique for supporting these?
Beta Was this translation helpful? Give feedback.
All reactions