Published:
⁓ Written in Crawley, UK
How to make MPAs that are as fast as SPAs — written by → Chris Ferdinandi
The title implies as fast as SPAs. I’d say faster than SPAs actually.
But that’s me just being pedantic.
Here’s a quick high-level summary of what I do…
- Serve pre-rendered, mostly static HTML.
- Inline everything, including CSS and JavaScript.
- Use mostly platform-native JavaScript, and as little of it as possible.
- Minify and gzip all the things.
- Lean heavily on service workers.
Nice one Chris!
← Other bookmarks