Many friends use virtual hosts to do websites, store web files on virtual space, but the page content is more, the speed of the website is particularly slow, if you encounter this situation, it is better to seek better space, it is better The satisfaction speed is achieved by optimizing the web code. The author summarizes some practical methods to make homepage, the following methods can make your webpage speed increase. First, remember that the game slimming We browse the web is actually downloading the webpage content in the virtual host to the local hard drive, and then use the browser to explain. The quick slow slow to download the web page accounts for a lot of proportion, so the smaller the space occupied by the web page itself, the faster the browsing speed will. This requires the principle of simultaneously following everything when doing a web page, such as: Don't use too much flash animation, picture and other tribute 8 cut an arc ⒓ 嗟 趁 婊岣 炙 炙 实Br> Second, if it is not necessary, try to use the static HTML page well known, ASP, PHP, JSP and other programs realize the dynamic interaction of web information, it is very convenient to run, because their data is interactive, it can easily access To change the content of the database, make the website "moving", such as a forum, a message board, etc. However, such programs must be processed by the server, generate an HTML page, and then "send" to the client to browse, this has to consume a certain server resource. If you use such programs too much on a virtual host, web display speed will definitely slow, so there is no need to use a static HTML page as much as possible. Third, don't put the entire page to a table in a table is the problem of web design. Many webmasters put the contents of the entire page in order to pursue the page uniform alignment, and then in a table, and then then by the cell TD is divided into the layout of each "block", which is absolutely slow. Because Table should wait for all the contents to be loaded, it is displayed after it is loaded. If some content cannot be accessed, the access speed of the entire page will be delayed. The correct approach is to split the content to several tables with the same pattern, don't all stuff it into a table. 4. Change access to files such as ASP, ASPX, PHP to. JS Reference This should be noted when designing program in ASP, ASPX, PHP, if you want to embed dynamic data in a static HTML page, and these dynamic data is provided by proceedings such as ASP, PHP, will use the following Statement reference: