Use the combres library ASP. NET Website Optimization

Source: Internet
Author: User

In terms of website optimization theory, you can refer to Yang Zhengmin'sArticleHow to improve the efficiency of web pages (Part 1)-14 guidelines for improving the efficiency of web pages, and how to improve the efficiency of web pages (Part 2)-use yslow to know why your web slow, this article introduces a practical class library to help you optimize your website. Combres-webform & MVC client-side resource combine library is a client resource Js for ASP. NET websites. It compresses, merges, and stores CSS files. It is open-source based on Apache 2.0 protocol and the latest version is 2.0. This library supports both webform and MVC. The main features are as follows:

  • Resource file organization, including the JavaScript and CSS file organization, each can use the same configuration or use different configurations.
  • You can compress, compress, and send it to the browser. All these resources only use one HTTP request.
  • There is an extensible minification architecture. developers can choose to disable resource compression settings or select one of the built-in adapters. The class library contains three adapters. net Yui compressor library, Microsoft Ajax minifier library, and Google closure Compiler service. The configuration is carried out through XML files, which is very convenient.
  • The etag and expires/cache-Control headers are generated for each request. server-side caching is supported.
  • It is integrated with ASP. NET routing engine, so it supports ASP. net mvc and ASP. NET webform very well.
  • Debugging mode is supported, so that debugging is convenient without caching or compression.

For more information about the combres library, see the article on codeproject:

Version 1.0 combres-webform & MVC client-side resource combine Library

Version 2.0 combres 2.0-a library for ASP. NET Website Optimization

Related Article

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.