3 ms·
Right, but I'd really doubt that "store new auth token if it exists in response" would take long enough that it causes any kind of problem. I know that there a
by azdle 10y ago
Right, but I'd really doubt that "store new auth token if it exists in response" would take long enough that it causes any kind of problem.
I know that there are benefits to using service workers in general, I guess I was just thinking about it in terms of adding a service worker to an application that isn't currently using them just to do the handshake they're suggesting. In which case it would be a lot of added complexity and wouldn't work across the board, whereas doing the check on the server side would add very little complexity and would work with every browser made since about 1995.