Keeping things fresh with stale-while-revalidate
An additional tool to help you balance immediacy and freshness when serving your web app. stale-while-revalidate helps developers balance between immediacy- loading cached content right away-and freshness- ensuring updates to the cached content are used in the future.
https://web.dev/stale-while-revalidate/