r/learnprogramming • u/BigEmu9286 • Oct 30 '22
ELI5: What is a "static website"?
When looking at hosting services they say, "host a static site".
When I use create-react-app to make a site, is that a static site? Does that have anything to do with the public folder? Static images and such?
I've googled and read a thousand things but don't understand it in practice can someone eli5?
9
Upvotes
View all comments
Show parent comment
4
u/tiki854 Oct 30 '22
The user input on that sample site you linked doesn't "permanently" change anything. There's no persistence of user input. Thus the page being served is static because it'll be the exact same thing loaded for everyone no matter what, and it will never dynamically change.