N
Nuxt8mo ago
xmpp

ERROR [h3] [unhandled] Parse Error: Header overflow

After adding i18n to my project, an error message "[h3] [unhandled] Parse Error: Header overflow" will appear when requesting an ofetch. When I remove nuxt-i18n, it will return to normal. I would like to ask how I can check the header size
No description
3 Replies
xmpp
xmppOP8mo ago
🥳 Thank you very much. I accurately saw the response header size through Safari browser, up to 45kb The cookie returned by Nuxt is too large, and I persisted the website navigation data into the cookie through Pinia, which caused this result. If you want SSR, it seems that Pinia does not support localStorage persistence
xmpp
xmppOP8mo ago
My intention is to render website navigation data like this on the server
No description
xmpp
xmppOP8mo ago
That's a good question My intention was to have SEO crawl these links and ask me to confirm with SEO experts whether this is really beneficial for SEO
Want results from more Discord servers?
Add your server