Jelmer
Jelmer
NNuxt
Created by Jelmer on 8/5/2024 in #❓・help
Nitro server plugin to cache Nuxt images: how to respond with a file from disk?
Should I be ending the original response somehow? Should I not use event.respondWith()?
3 replies
NNuxt
Created by Jelmer on 8/5/2024 in #❓・help
Nitro server plugin to cache Nuxt images: how to respond with a file from disk?
Complete error:
ERROR [nuxt] [request error] [unhandled] [500] Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:659:11)
at setResponseHeaders (./node_modules/h3/dist/index.mjs:778:20)
at Object.handler (./node_modules/nitropack/dist/runtime/route-rules.mjs:19:7)
at ./node_modules/h3/dist/index.mjs:1963:31
at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:2250:7)
ERROR [nuxt] [request error] [unhandled] [500] Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:659:11)
at setResponseHeaders (./node_modules/h3/dist/index.mjs:778:20)
at Object.handler (./node_modules/nitropack/dist/runtime/route-rules.mjs:19:7)
at ./node_modules/h3/dist/index.mjs:1963:31
at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)
at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:2250:7)
3 replies
NNuxt
Created by Jelmer on 3/14/2023 in #❓・help
How to do Static Site Generation with no JS on the client side in Nuxt 3
Allright, that's what I wanted to know. Thanks!
9 replies
NNuxt
Created by Jelmer on 3/14/2023 in #❓・help
How to do Static Site Generation with no JS on the client side in Nuxt 3
I ask this because I'm looking at using this feature for a big client and I can't sell it if it's "experimental"
9 replies
NNuxt
Created by Jelmer on 3/14/2023 in #❓・help
How to do Static Site Generation with no JS on the client side in Nuxt 3
I mean more like; whats the context. Why is experimental, will it become non-experimental, if so, when? Etc.
9 replies
NNuxt
Created by Jelmer on 3/14/2023 in #❓・help
How to do Static Site Generation with no JS on the client side in Nuxt 3
What does that mean?
9 replies
NNuxt
Created by Jelmer on 3/14/2023 in #❓・help
How to do Static Site Generation with no JS on the client side in Nuxt 3
Thanks! Didn't know that existed. So... It's experimental?
9 replies