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 think the end part of the code is making the browser to not refresh the cache, I saw discussions about it in the forum but not sure how we could change it, as I think this logic maybe different on per view basis ? I have one api for which I need to clear cache when other apis are triggered to refresh information, in that case I cannot pass max-age, I should pass no-cache, as other way browser is not verifying if cache is valid.
@IOR88 If I'm reading you correctly this is as intended. The browser is honouring the max-age and even if the cached entry has been invalidated on the API, the browser will wait until max-age has expired before going back to the API.
I think the end part of the code is making the browser to not refresh the cache, I saw discussions about it in the forum but not sure how we could change it, as I think this logic maybe different on per view basis ? I have one api for which I need to clear cache when other apis are triggered to refresh information, in that case I cannot pass max-age, I should pass no-cache, as other way browser is not verifying if cache is valid.
The text was updated successfully, but these errors were encountered: