3 ms·
>* The basic problem with this approach is well understood: As the corpus of content on a given site grows, render time quickly approaches time between updates.
by coldtea 11y ago
>* The basic problem with this approach is well understood: As the corpus of content on a given site grows, render time quickly approaches time between updates. In other words, you start waiting for renders to complete before you can change something else on the site.*
Only on naive systems -- or if you change the design and layout of the whole site.
Besides, for 99% of websites that are not news or forum sites, the content never grows that much. And for brochure style sites, it's at most a few 10s of pages per year.
>Meanwhile, as a site grows, the number of contributors tends to grow, including authors, editors, illustrators, photographers.
That never happens for 99% of sites -- that could still use static rendering.
So not only are the static renders taking longer as the site grows, there is also a growing likelihood that someone will want to touch a piece of content in a given time period, thus triggering a new render.
>On the flipside, you could install the most inefficient, computationally intensive, database driven crapfest of a web app and it won't matter because you don't need to scale.
It's not just about scale.