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
We have pages where we hit the same endpoint and wanna have a way to know when the data is coming from cache or it's actually being queried.
This is done mostly for UI and performance tracking at an App wide level.
i.e.: The UI changes and that would create a new query (should be tracked), but it if the data is already in cache due to non-changes in the request. How can we track that?
Local caches are great because it saves us a trip around the CDN, but there is not an easy way to track that event that could've ended up in a new request but hit cache instead.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Related to:
#937
We have pages where we hit the same endpoint and wanna have a way to know when the data is coming from cache or it's actually being queried.
This is done mostly for UI and performance tracking at an App wide level.
i.e.: The UI changes and that would create a new query (should be tracked), but it if the data is already in cache due to non-changes in the request. How can we track that?
Local caches are great because it saves us a trip around the CDN, but there is not an easy way to track that event that could've ended up in a new request but hit cache instead.
Thanks in advance for any help.
Beta Was this translation helpful? Give feedback.
All reactions