From SPA to MPA

To follow the trend: another rant about MPA against SPA. I'll be nice, I promise.

I'm currently runnning an experimentation to switch from a Single Page App (SPA) to a Multiple Page App (MPA). Currently, the frontend runs on NuxtJS and the backend is written in PHP / Laravel. Now I'm making it render the content by Laravel.

The main reason to do so is to gain a boost in Google SERP. Nuxtjs is a great framework. It surely allows a smooth user experience. However it's hard to achieve a good core web vitals with Nuxt: too much javascript code is executed on initial load, which has an impact on large contentful paint and total blocking time. Maybe possible, but hard for me.

First results are promising though it really feels old school. I hope to get better results with a strong caching.

It's a lot of work, I hope I'll have good results.

Posted on 2022-09-26 at 22:49

Previous Back Next