Revalidate SSR caching
Unanswered
Singapura posted this in #help-forum
SingapuraOP
I add cache control header to my page (as shown on https://github.com/vercel/next.js/blob/canary/examples/ssr-caching/pages/index.tsx#L17)
I am looking for how to revalidate that? (Note: the app uses Pages router and hosted on Vercel)
I am looking for how to revalidate that? (Note: the app uses Pages router and hosted on Vercel)
2 Replies
you can't really clear a Cache Control header, once the header is set and the client stored it, you can only wait or you manually clear the browser cache
SingapuraOP
@Ocicat , I set s-maxage only. Therefore it is not cached in browser. CDN caches in this case.