Performance
Performance is almost always regarded as a feature. While different kinds of applications may be satisfied with different levels of performance, especially for end-user-facing applications, the general mantra is "faster is better." Amazon claims that every 100 ms of additional latency costs them about 1% in sales. This is a massive number and should not be underestimated.
Resource caching
As we saw, there are multiple kinds of websites these days. We have the following:
- Static websites
- Dynamic websites (server-side rendering)
- Dynamic websites with AJAX
- SPAs
Every kind has its own techniques to boost performance and stay scalable. For instance, already static websites will use an in-memory cache to avoid reading the page from the disk on every request. This simple feature can be already used in SPAs, however, must be implemented by hand for server-side rendering.
Most languages and frameworks that deal with server-side rendering...