If there were 1 million concurrent users visiting a website viewing different pages, which is going to cause a higher server load (i.e., slow down the sever)?
Pull from MySQL
- GET index.php?=page_id=1
- GET index.php?=page_id=2
- GET index.php?=page_id=etc…
or
Pull static page from filesystem
- GET page_1.html
- GET page_2.html
- GET page_etc…html
The less overhead the better, so a stripped down web server will be faster.
I’ve worked on plenty of sites where we generated static HTML files from the database (daily, hourly, etc) as the pages weren’t dynamic.