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
3 Replies
🥳 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
My intention is to render website navigation data like this on the server
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