Next.js Discord

Discord Forum

`Cache-Control: public` is not being inserted for HTML Documents.

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
Using Next 13.2.1 and Pages Folder.

When building the project locally, the public directive is not inserted in the HTML Documents. So, when using the Cloudflare CDN, we were able to cache several items, but not the page document.

How can I fix this?

0 Replies