Static Site vs. HTML in the Backend

Another way to save money on compute and memory resources, as well as network bandwidth costs, is to do client-side rendering. This means that the main data coming from your web servers to the user’s browser is NOT a bunch of bloated and often redundant HTML but instead a more slimed down JSON. Then, using something like ReactJS, the user’s browser uses their CPU and memory to take the JSON and render it as HTML.

Generating the HTML server side is not a massive computational challenge, nor an exceptional amount of extra data to send over the network. But after rendering thousands of pages for millions of users, it will add up in a big way.

Buy me a coffee if you found this helpful.

© Copright 2024 Schematical
17 S. Fairchild St. FL 7, Madison, WI 53703
DISCLAIMER: The information provided is for general informational purposes only. Posts and other information may not be updated to account for changes in the law and should not be considered advice. None of the articles or posts on this website are intended to create an attorney-client relationship. You should consult with legal and/or financial advisors for legal and tax advice tailored to your specific circumstances.