7 Great Recipe to Increase the Speed of Website Opening
Many of my friends are using virtual hosts do website page files are stored in a virtual space, but the page content is more than one site open especially slow speed, if you encounter this situation, instead of looking for better space, it is better to to achieve a satisfactory speed by optimizing web page code. The author summarizes the practical, making the Home, the following methods can make your page speed is greatly increased.
First, remember the help page weight loss
We started actually virtual host web content downloaded to the local hard disk, and then interpreted by the browser view. The speed of the download page display speed accounted for a large proportion, so the smaller the space occupied by the web page itself, then the faster browsing speed. This requires the page to follow things simple principles, such as: Do not use too much Flash animation, images, and other resources. The clean, simple page will give people a feeling Siluminglang.
Second, if not necessary, to make use of static HTML pages
As we all know, ASP, PHP, JSP and other procedures to achieve the dynamic interaction of the information on the website, up and running is indeed very convenient, because their data interactivity can easily access and change the contents of the database, so that the website \”Moving\” such as: forums, message boards, and so on. However, these procedures must be after the first server to perform processing, generating HTML pages, then \”send\” to the client browser, which had to spend a certain amount of server resources. If excessive use of such procedures in the virtual host, web page display speed will certainly slow, so there is no need to try to use static HTML pages.
Do not the entire page content stuffed into a Table
This web design, many owners unified in order to pursue the page alignment, the contents of the entire page into a Table (form), and then divided by the cell td of each \”block\” layout, which kinds Site display speed is absolutely slow. Table to wait for all the contents inside are loaded until after the show, and if some of the content can not be accessed, it will delay the access speed of the entire page. The correct approach is: the content is divided into several with the same pattern of Table, not all stuffed into a Table.
Fourth, ASP, ASPX, PHP file access to. js references
This is the ASP, ASPX, PHP and other program design should pay attention to the, if you want static HTML page embedded in the dynamic data, while these dynamic data is from the ASP, PHP and other procedures to provide, then, will be to use the following statement Quote: so, every time a person visits your site, the server is to be performed and processed once tongji.asp file, extract the appropriate data from the database, and then output to the web page display, simultaneous access if there are tens of thousands of people, it is necessary to implementation of tens of thousands of times, the consequences can be imagined. Proposed dynamically generated data in these procedures will to a 1.js file, and then in the home through the SCRIPT src = \”http://www.site.com/1.js> / SCRIPT> this code to reference the 1.js file. In this way, the data show that the task handed over to the client\’s browser do not consume server resources, display speed naturally soon.
Use iframe nested another page
If you want to insert some advertising code on the site does not want to affect the speed of these ads website\’s use iframe most appropriate. The method is: these ad code on a separate page, the following code embedded in the page can then be used in the home, so it does not delay because the ad page and drag the display of the entire home, the code is as follows:
IFRAME marginWidth = 0 marginHeight = 0 src = \”http://www.example.com/default.asp\” frameBorder = 0 width = 468 scrolling = no height = 60 leftmargin = \”0\” topmargin = \”0\”> / IFRAME>
Six, pay attention to the skills of the web counter code placed
The counter can be placed inside the web statistics website traffic for webmasters and advertisers to provide access basis, but, no matter how powerful web statistics system function, failed. If statistical code directly into the front of the page content, or placed in a Table or div tag, then the counter can not access your page that Table or div will generate tens of seconds of delay, resulting in pages a long time to access. Therefore, to improve the speed of the site, it is necessary to pay attention to the position of the statistical code placed, the correct way is: Statistics code on the bottom of the page, and the page content and do the same in a Table or div tag. Statistical code, can be directly placed in the bottom of the page code or alone at the bottom of a Table or div to place the counter. In this way, when the counter can not access the speed of your site will not be affected in the slightest.
Links science
Do between the website links can increase the effectiveness of the publicity of the site, and do LOGO picture link to more accurately describe the site\’s theme and positioning, the publicity effect will be greatly enhanced and doing too much, but the image links will inevitably affect the page display speed . Many owners are like a direct reference to the picture URL in friendship website so that the pictures must first be loaded to display various friendship site access speed is not the same picture of the entire table will have to wait to download finished to show up, this greatly reduces the web speed. Therefore, should be as far as possible to do Links:
Only text links: text links will not delay the speed of the page.
2 All links into a separate paging to go, and then in the Home link on the page.
If Links must appear in the Home Table where your link into the bottom of the page, because the page is a progressive display, from top to bottom, and put it in the bottom of the page will not delay other content display.
4. LOGO Image Links to download and then spread to their own web space, so that the speed of the decision by their own web space without friendship website.
if you have any promblem about printer, you can come to this site for help:inkjet printer
if you have any promblem about printer, you can come to this site for help:http://www.wirelesslaserprinter.biz inkjet printer
Author Bio: if you have any promblem about printer, you can come to this site for help:inkjet printer
Category: Internet
Keywords: increase the speed of website opening