You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Recently, when using a service worker to listen for fetch events for cache handling, I found that the fetch events were not being triggered. I suspect this may be due to Axios exclusively using XMLHttpRequest (XHR) requests. I hope to prioritize checking whether fetch is supported before using it for requests.
最近使用service-worker 监听fetch事件来处理缓存,发现无法触发fetch事件,猜测是axios全部是xhr请求导致。希望能优先判断是否支持fetch来使用fetch请求
Describe the solution you'd like
I hope to prioritize checking whether fetch is supported before using it for requests
希望能优先判断是否支持fetch来使用fetch请求
Describe alternatives you've considered
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Recently, when using a service worker to listen for fetch events for cache handling, I found that the fetch events were not being triggered. I suspect this may be due to Axios exclusively using XMLHttpRequest (XHR) requests. I hope to prioritize checking whether fetch is supported before using it for requests.
最近使用service-worker 监听fetch事件来处理缓存,发现无法触发fetch事件,猜测是axios全部是xhr请求导致。希望能优先判断是否支持fetch来使用fetch请求
Describe the solution you'd like
I hope to prioritize checking whether fetch is supported before using it for requests
希望能优先判断是否支持fetch来使用fetch请求
Describe alternatives you've considered
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: