Hi!. I am working on project using Inertia and Vue, but I have very strict requirements in terms of SEO core vitals.
Question: Why does Inertia impact core vitals to such a degree?
For test purposes I installed fresh laravel 11 app, manually installed inertia, project runs on vite.
First I tested the core vitals for sample blade file with lorem ipsum. | FCP = 0,6s LCP = 0,6s
Then I created equivalent as vue SFC and run it in router through inertia render. | FCP = 1,7s LCP = 1,7s
This is radical difference!
Mind you that this is fresh installation, without any 3rd party scripts nor plugins.
I also performed test on Inertia SSR in hopes of any improvement. The results were the same. | FCP = 1,7s LCP = 1,7s
I am testing this on local machine (Sail), but I obviously built the assets via npm run build.
I am baffled, at this point I am considering not using Inertia and Vue at all, even tho they provide excellent UX possibilities