2 ms·
> SSR TTFB(Time To First Byte)is slower than CSR Well, it of course depends on what your content is, but you can still use a cache service before. I installed
by JeanMarcS 9y ago
> SSR TTFB(Time To First Byte)is slower than CSR
Well, it of course depends on what your content is, but you can still use a cache service before.
I installed an infrastructure for an e-commerce for a client. They use Magento. I installed a Varnish in front of it and it goes really faster than without. Most pages are, in fact, static pages (home, categories or products), the dynamic part are ajax loaded after content rendering (like prices or stock) so it's a blast for UX.
Of course it will make no (well, less) sense for a SPA. But for content websites, I think it's more logical to do SSR than force to load the whole JS files to see what's on the page.
Edit : typo