4 ms·
The point isn't to dynamically render it on user request on the server. If you're rendering something that is primarily static and progressively enhancing it wi
by emidln 12y ago
The point isn't to dynamically render it on user request on the server. If you're rendering something that is primarily static and progressively enhancing it with user-specific input, you can render the vast majority of the html ahead of time and serve it statically. Your template can be initialized on push when the source content changes and then initialized again dynamically in the browser if content needs to be updated/customized. You're sharing templates along with context processing logic. This lets you perform SEO optimizations and dramatically decrease page load times while not suffering many drawbacks when it comes to your live frontend.