What basic structures should be built for website construction?
Today, let’s talk about what basic structures should be built for website construction?
one, HTML Static
We all know that the most efficient and least consumed is purely static HTML pages, so we make the pages on the website use static pages as much as possible.
2. Separation of picture servers
Everyone knows, for Web For servers, no matter Apache、IIS Or other containers, pictures are the most resource-consuming, so it is necessary for us to separate pictures from pages. This is a strategy that large websites basically adopt. They all have independent, or even many image servers.
3. Database cluster and library table hashing
Large websites have complex applications, and these applications must use databases. When faced with a large number of accesses, the bottleneck of the database will soon appear. At this time, a database will soon be unable to meet the application, so we need to use database clusters or library table hashing.