Feature Request: Implement capo.js to sort elements in head and improve performance #62768
jahirfiquitiva
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
From capo's website:
Sorting the elements in head can help improving the performance of our websites.
Having it built-in within Next.js would be great as we'd have this benefit without overthinking it.
Non-Goals
No response
Background
Here's an article from Frontend Masters exploring more about this:
https://frontendmasters.com/blog/capo-js-a-five-minute-web-performance-boost/
Also, Nuxt (3.7 and later) includes this feature
https://nuxt.com/blog/v3-7#html-rendering-optimisations
Proposal
I'm honestly not sure how this could be implemented. Next.js seems pretty complex for me to contribute to.
Beta Was this translation helpful? Give feedback.
All reactions