While browsing around the web, there’s no doubt you should have seen the terms such as ‘static sites’ and ‘static hosting’. Especially if you are someone who has been practicing web development. Indeed such terms sound simple and straightforward to anyone, but to be honest I did find those terms confusing at times before deciding I should put some effort to do my research so that it will help with clearing out my doubts. I was able to come up with some nice definitions and references which made things pretty clear after all. If you were also confused by these terms, this is the time to clear that up by reading this post.
Well, those two definitions alone say it all, aren’t they? Static hosting is the service that enables hosting/serving static web pages. Static web pages are the fixed HTML pages that serve the same contents on every request it receives. They don’t change their contents dynamically.
To better understand the difference between a static page versus a dynamic page, let’s have a look at the below two example pages:
- Click here to open a static page
- Click here to open a dynamic page with a random joke each time you reload the page
Try reloading the static page several times. You should see there are no changes on that page during subsequent requests. However, you should see how content gets changed on the second page whenever you reload it.
I believe now you should get it. Plain and simple.
Besides, you may also refer to some of the below references for more understanding if you wish.
- https://www.youtube.com/watch?v=_wFJj94kSTU (very good)
- https://www.youtube.com/watch?v=F_BYg2QGsC0 (SPA vs MPAs / MVC)
Static Web Hosting Providers
The below article attempts to provide a brief introduction to several well-known static hosting providers.
Bye for now! 👋👋👋