1,1. There is no need to optimize a page template, these are some very mature technology, even without greeting the easy 10% performance. These 10% accounted for only 0.5% of the total page run. Very little, equal to the 4 lanes in the previous sample 8 lanes of fools, we do not go to act as fools.
2. Database connection: Use connection pooling to reduce the number of connections; repeated database queries: Use caching to avoid repeated database queries , slow queries: Use indexes to increase query speed, replace subqueries with connection queries, and more.
3. static files and dynamic pages are handled separately. cluster of application servers. a cluster of databases. Web site Optimization Trilogy: Application optimization, System structure optimization, network optimization.
4, front-end optimization reference: Http://www.csdn.net/article/2013-09-23/2817020-web-performance-optimization
avoid css @import,Avoid using document.write. merging multiple external CSS files,merge multiple external JavaScript files. using CSS sprites to integrate images,delay the loading of JavaScript,Enable compression/GZIP,embed the small CSS and JavaScript code in the HTML,use browser caching. compress the CSS code. try to reduce the number of DNS queries and minimize redirects. the style label and style sheet calling code should be placed in front of the JavaScript code to avoid javascripts blocking rendering. reduce the original image
Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
Web back-end server optimization