Collection
zero Useful+1
zero

Mirror site

Server terminology
The mirror site will website Multiple replicas of can be placed on different servers, which may improve the response speed. Users can The server Get information on, improve the efficiency of network transmission, also improve the security of the website. image It must be updated constantly to reflect the changes of the original station. Sometimes the original station has no conditions to connect to the high-speed line, while the mirror station can connect to it.
Chinese name
Mirror site
Foreign name
MirrorSite

Create mirror site

Announce
edit
If there is no backup, the ISP When the disk crashes, all files will be lost. Use the mirror function of the LWP: Simple module to create a backup image of the Web site to prevent this problem.
The mirror function provides another very easy way to download web pages and store them in local files. To use this function, simply download the URL It is passed to it, and the file to store it is passed to it, that is, mirror ($url, $file). [1]

function

Announce
edit
If the webmaster does not have his own server, the website uses Virtual host In addition to the virtual host supporting multiple lines, you can also choose to use VPS The method of setting up mirror sites solves the support problem of multi line visitors.
image , originally meant optics The image of an object in a mirror. When referenced to the computer network, a mirror site (or image) refers to a copy of the content of another site. The image is usually used to provide different sources for the same information content, especially to provide a reliable network connection when there is a large amount of downloads.
Generally, establishing a mirror site has the following benefits:
Save Page Information
Usually, webmasters have good backup habits, but sometimes unexpected situations will cause a small amount of website data loss, such as servers Hard disk Damage, etc. At this time, if there is a mirror site, there is no need to worry about how to retrieve the data, because the data is completely stored on another mirror site.
Balance traffic load of website
This is the most common function of establishing a mirror site. This method is widely used by major download stations in China load Download requirements of users on different lines.
Increase the loading speed of users' web pages in a certain region
For example, for a website placed in the United States, the mainstream service crowd is Americans, but there are also many visitors in other parts of the world. In this case, the website can consider establishing mirror sites in various countries to provide better page loading speed for visitors from various countries. [2]