11 likes
·
85 reads
6 comments
nice reading.
What happens if a user tries to make a put request on the same form again and again.
Does it create a new put request in indexDB ?
Basically, service worker can intercept the network request/fetch calls. So you can fetch data from the cache based on user requests. But for PUT or POSt request you have make the fetch call when network available.
Naimur Rahman Making api calls automatically, BackgroundSync Plugin does that for you.
Naimur Rahman Let me ask a question in different way.
if a user tries to make a put request on the same form again and again.
Should we store multiple put request for same form, or should we store a single put request.
Wow! Seems interesting. I will definitely check this plugin. Thanks for mentioning this Gaurav Yadav