I have a project in Angular 17 SSR with pre render activated and a routes.txt file with urls. This project is deployed in Vercel and the page is getting a bad qualification in performance.
I have my components with standalone true activated, and in my app.routes.ts have the components with lazy load like this:
{
path: 'google-search',
loadComponent: () => import('./pages/google-search/google-search.component')
.then((gs) => gs.GoogleSearchComponent)
},
Another observation that I saw is that between head tag a list of chunks.js are charging in every view so i don´t know if this is normal and this is why my website is getting this qualification, I also tried adding the library for images performance but a warning show up saying that is not recommended with ssr activated. One of the things for what I decided to activate the ssr it is because I thought that the performance will be better and also for have the prerender option and have a better SEO.
I have tried many things to have a better performance qualification but nothing helps, so if someone have any ideas to share.