background-fetch icon indicating copy to clipboard operation
background-fetch copied to clipboard

Support retrying of uploads

Open jakearchibald opened this issue 7 years ago • 2 comments

It feels like something we shouldn't do by default, as making the same "POST" request twice may have side effects.

Perhaps we should provide an opt-in to this? Something that says "My server is coded in a way that prevents double-posting. Please retry POSTs".

+@beverloo @johnmellor

jakearchibald avatar Sep 25 '17 12:09 jakearchibald

This might be redundant if we can standardise resumable uploads.

jakearchibald avatar Oct 11 '17 13:10 jakearchibald

background fetch cannot do post, retrying should be fine... but you cannot trigger a background fetch within the serviceworker - you need an attached client and perhaps use postMessage which isn't trivial to do.

TheRook avatar Jul 08 '22 20:07 TheRook