Static resource management and template framework for front-end engineering and performance optimization

Source: Internet
Author: User
Tags resource

This series of articles from a new perspective to consider the relationship between Web performance optimization and front-end engineering, through the interpretation of Baidu front-end Integrated Solutions Group (F.I.S) in building High-performance front-end architecture and unified Baidu more than 40 front-end product line of the process of the experience of the technical trial, The realization of front-end performance optimization in front-end architecture and development tool design level is revealed.

In the previous section, we introduced the static resource version update and cache. Today's section will describe the use of static resource management and template frameworks.

Static resource management and template framework

Let's take a look at what's left of the previous optimization checklist:

Unfortunately, the rest of the optimization principle is not the use of tools can be very good implementation. Perhaps someone will argue: "I use So-and-so tools to implement script and style sheet merging." Well, it's probably a good idea to use tools to combine resources and replace references, but there are some very serious flaws in this approach in large Web applications to see a familiar example:

A Web product page has three resources for a, B, and C

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.