withAuthUserTokenSSR
with Cache-Control
#532
-
I was wondering what would be the best way to cache some of the content generated on the server-side (like 3rd party API calls that don't depend on the user token, or static content) for pages that use Are we restricted to using only the Amazon CloudFront offers an option to cache based on a specific cookie but I'm not sure if Vercel does that. Any kind of suggestion would be really appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As you suggest, this is more about the hosting provider and Next.js than it is about More to your question: you could always use CloudFront or another CDN in front of Vercel, if needed. |
Beta Was this translation helpful? Give feedback.
As you suggest, this is more about the hosting provider and Next.js than it is about
next-firebase-auth
. However, if this package is blocking some implementation of a solution, let me know.More to your question: you could always use CloudFront or another CDN in front of Vercel, if needed.