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
Currently, we are going to use the next.js's cache to speed up the performance, and set an expiration time for that. Can we find a way to manually trigger some page's cache update so we can get the newest data immediately.
This is to bring convenience for our operator, usually, after doing some data management, they want to check the result on the map immediately, but with the cache of next.js, they need to wait.
The text was updated successfully, but these errors were encountered:
Basically they recommend creating an endpoint where we can supply a token and the path to revalidate, it'll purge the cache and force re-render on next call. Then we can just call this endpoint when/where needed. I'm happy to take a look and draft up a PR assuming all goes well
Currently, we are going to use the next.js's cache to speed up the performance, and set an expiration time for that. Can we find a way to manually trigger some page's cache update so we can get the newest data immediately.
This is to bring convenience for our operator, usually, after doing some data management, they want to check the result on the map immediately, but with the cache of next.js, they need to wait.
The text was updated successfully, but these errors were encountered: