Setting Cache-Control Headers
Cache-Control gives your frontend applications instructions for caching requests and responses to your app. Optimizing Cache-Control for Atlas will help with the deliverability of your content between the frontend and WordPress backends. To determine how to set up Cache-Control, see the MDN Web documentation for Cache-Control.
Apps Without Cache-Control
Frontend applications using Next.js add immutable Cache-Control header resources, with
max-age being when a resource remains in the cache in seconds. For example, any resources found in
/_next/static/ stay cached for
max-age=31536000,immutable. Other static resources such as
/public/images/ stay cached for
For any custom resources you want to cache, add your custom headers outside of
/_next/static/. For instructions, refer to the Vercel headers documentation.