Skip to content

kql cf-cache-status: DYNAMIC #25

Closed Answered by johannschopplich
Jorckx asked this question in Q&A
Discussion options

You must be logged in to vote

That depends on your usecase. You can combine both.

I recommend you read the Nuxt KQL Server Side Caching Guide. It explains how to use Cloudflare KV storage as the caching layer. Nuxt natively supports it, since its server Nitro uses unstroage.

Of course you can also use pnpm run generate. Nuxt KQL provides a data fetching layer. If you want to pre-generate pages at build-time, it's completely up to you to do so.

For my projects, I generatlly tend to use the KV storage from Cloudflare, but for other projects with control over the build chain it makes sense to just pre-render the whole page and deploy to Cloudflare Pages. Check out my Cacao Kit, which is a best-practice Kirby Nuxt integra…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Jorckx
Comment options

@Jorckx
Comment options

@johannschopplich
Comment options

Answer selected by johannschopplich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants