`_payload.js` cache with `nuxi generate`
Hey! Is there a way to bust cache of
_payload.js
when using static generation approach?
I am using @nuxt/content@2.5.2
and nuxt@3.3.1
. When updating content and regenerating website (nuxi generate
) the server-served HTML is properly using new content, but it instantly gets replaced by outdated _payload.js
.
The website is served with nginx behind cloudflare. Both are configured with the most basic settings (no nginx cache, cloudflare default free plan).
Is it possible to bust cache in similar fashion we do with other .js
files, by adding a hash either to the filename, or as query parameter?0 Replies