Web Front-end performance optimization summary and web performance optimization Summary

Source: Internet
Author: User

Web Front-end performance optimization summary and web performance optimization Summary

I. Overview

The main features of web Front-end performance optimization are:Reduces HTTP requests, sizes of request files, and other Optimizations.

Ii. Optimization details

1. Reduce HTTP requests

(1) Use Cache

(2) Sprite

(3) Merge files

(4) Introduce javascript and css from the outside

(5) image base64 encoding

 

2. Reduce the size of the request file

(1) compressing html/css/js/Image File Size

(2) Reduce the number of DOM

(3) Reduce the cookie size

 

3. Other Optimizations

(1) load as needed: lazyload, screen rolling, and Media Query

(2) pre-loading: loading, loading the next page in advance

(3) Place css and js in the correct position

(4) moderate use of cdn

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.