3 ms·
Why don't you cache the prerender and serve to everyone?
by brailsafe 6y ago
Why don't you cache the prerender and serve to everyone?
- jjcm 6y agoI'm using a static html file for the full app. The client side selectively removes/adds html for each of the pages depending on the url. Upside to this approach is that static = fast. Downside is if I prerender then the routes don't have the initial context for navigation to other pages. The prerender shows only a subset of the full site. I'd have to re-architect the client side router I wrote to support it, and that's very low on my MVP list, especially with performance in the 200-400ms range as it is.