Page (HTML) Optimization Method
In addition to language optimization, the optimization of Web development and HTML will greatly reduce the server load and provide website performance.
1). Reduce the number of HTTP requests.When a Web page is opened, the browser sends a lot of requests, images, scripts, and loading each object takes time and reduces the load.1. Me
lowercase6, clear the space, although the space helps us to see the code, but each space equivalent to a character, the more space, the larger the page size, such as Google, Baidu and other search engine home page removed all the blanks can be removed, enter and other characters, which can speed up the transmission of web pages. can use the DW software to bulk delete the space between the tags inside the HTML, sublime text in Ctrl + A, and then long
2014-08-23 BaoxinjianI. Summary
A script that is circulated online to query the efficiency of a single SQL query and export it as an HTML report, similar in function to Dbms_profilerQuery sql_id by session, only run script, export as HTML reportThe SQL script: Http://files.cnblogs.com/eastsea/sqlcheck.zipIi. cases-Using the script data SQL performance
[Performance optimization] HTML after PHP code output compression can also be attributed to the performance operation Category. although the effect is not very obvious, it plays a very good role under certain circumstances, the reasons for using this method are as follows:
The code for compressing large-traffic access pages saves RMB, and Baidu homepage does t
The new beta version of Windows 10 continues to improve the HTML 5 performance of Edge.
Kyle Pflug, a Microsoft employee responsible for Edge browser development, disclosed the HTML5 performance of the new version of Microsoft Edge browser on Twitter earlier today,According to his announcement, in Windows 10 Build 10525, the new version of Microsoft Edge browser
CSS Web page layout is layout layout, is the Web Designer will be limited visual elements of the organic arrangement of the combination. The layout requirements of UI design are realized mainly through the floating and positioning function of CSS.Common layouts are: one-column layouts, two-column layouts, three-column layouts, and mixed layouts.HTML clear Default style: body{margin:0;padding:0;}Floating (float), absolute positioning (position:absolute) causes elements to move out of the document
Performance
Minimize DOM access and markup, reduce the use of methods such as document.getElementsByTagName (), and store the values returned by such methods in variables.
Merge scripts, style files, picture files, and so on to reduce the number of requests to load pages.
Compress the script.
JavaScript is separated from HTML tagsWhen we add an action, there is a first reaction: Thi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.