Website front-end optimization technology

Source: Internet
Author: User

① Browser Access Optimizations:

-Reduce the number of HTTP requests: Merge CSS, merge JavaScript, merge pictures (CSS Sprite)

-Use browser caching: By setting the Cache-control and Expires properties in the HTTP response header, CSS, JavaScript, pictures, etc. are cached in the browser, and when these static resources need to be updated, You can update the references in the HTML file to let the browser request new resources again

-Enable compression

-CSS front, javascript back

-Reduce cookie transmission

②CDN acceleration: The Essence of CDN (Content distribute Network) is still the cache, the data is cached in the nearest place, the CDN is usually deployed in the network operator's room, not only can improve the response speed, but also reduce the pressure of the application server. Of course, the CDN cache is usually a static resource.

③ Reverse Proxy: Reverse proxy is equivalent to a façade of the application server, can protect the security of the site, but also to achieve load balancing function, of course, it is most important that it caches the user access to the Hotspot resources, you can directly from the reverse proxy to return some content to the user's browser.

Website front-end optimization technology

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.