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
I assume this is partial of your runtimeCaching, it will work. But there is some misunderstanding about this configuration. To help you understand it, what it does is whenever a http request send to api route:
If device have network access, it always fetch from network without using any cache
If device doesn't have network access and has cache for api route, it fetch from the cache, but if the cache is expired (1 second after stored) it will return error since the cache is invalid.
What config should I set to avoid caching XHR api requests
I managed to doing this, so it is cached for 1 second
The text was updated successfully, but these errors were encountered: