Closed hthetiot closed 6 years ago
Fix issue when RA disconnect and XMLHttpRequest.configuration.cache._requestInfoRevalidating state was invalid. Added revalidate on Xhr timeout and error, clearRevalidates on transport re-opening and close in case of missed disconnection.
XMLHttpRequest.configuration.cache._requestInfoRevalidating
To test:
Fail to clean stale-while-revalidate and fetch new response after re-connection.
Should fix
see v0.2.1
Fix issue when RA disconnect and
XMLHttpRequest.configuration.cache._requestInfoRevalidating
state was invalid. Added revalidate on Xhr timeout and error, clearRevalidates on transport re-opening and close in case of missed disconnection.To test:
Current
Fail to clean stale-while-revalidate and fetch new response after re-connection.
This PR
Should fix