4 ms·
If the Server rendered page is not user specific and is generic for all users then it can be cached and served quickly. Then only potentially one user would ex
by scyber 9y ago
If the Server rendered page is not user specific and is generic for all users then it can be cached and served quickly. Then only potentially one user would experience a slowdown and you can serve much faster.
Of course then you get into the fun of cache management and invalidation.
- nathan_long 9y agoElixir Phoenix has a game-changing approach here because of how it compiles templates. Effectively, the static part is always cached (until the template changes), but the dynamic part is never cached. Nothing to manage. See http://nathanmlong.com/2016/11/elixir-and-io-lists-part-2-io-lists-in-phoenix/ http://nathanmlong.com/2016/11/elixir-and-io-lists-part-2-io... for explanation.