-
Notifications
You must be signed in to change notification settings - Fork 332
networkTimeoutSeconds doesn't work the way it sounds #221
Comments
Thanks Mat. My take is this is definitely something we should at minimum be documenting correctly but may defer solving better in sw-helpers.
@gauntface I wasn't able to find an equivalent for |
Experienced the same and agree with @wibblymat. The current behaviour is more like a |
I've been adding toolbox to my own site, and playing with
networkTimeoutSeconds
, and I noticed that with a timeout of 1 second it still takes 3 seconds for the HTML to arrive when I simulate a GPRS connection.The way I always imagined it was that if the page hasn't been completely downloaded inside the time limit then we try the cache.
However, this isn't true! A
fetch
will resolve as soon as the headers arrive. So the timeout is really only about time-to-first-byte.I'm not sure what can really be done about it, but it should certainly be documented correctly.
The text was updated successfully, but these errors were encountered: