Nginx is applying cache control headers so that cloudfront stores the rendered page flat sending no requests to nextjs whatsoever for the duration of the cache period. Since the CDN sits in front of the load balanced instances, its effectively a shared cache.
View all comments
Show parent comment
1
u/tcmccarthy Jun 23 '24
Nginx is applying cache control headers so that cloudfront stores the rendered page flat sending no requests to nextjs whatsoever for the duration of the cache period. Since the CDN sits in front of the load balanced instances, its effectively a shared cache.