Almond further optimization Requirejs

Source: Internet
Author: User

Here is just a joke, "almond" actually refers to the Almond,requirejs author of another Open source project, it is positioned as a substitute for Requirejs.

Usage Scenarios

Under what circumstances do I need to use almond it? Let's say you have a small project based on Requirejs, All business codes add up to dozens of K (which may be smaller after compression). For performance optimization, you may be thinking: if you can get rid of requirejs dependency, after all, Gzip Requirejs also have about 20k (2.1.6 version).

Almond is born for this purpose, the development process, you can continue to use Requirejs to manage your dependencies, and to the packaging on-line stage, replaced by Almond. The almond after gzip is only about 1k, and the optimization amplitude is quite large.

For details, see: http://levi.cg.am/archives/3450

Almond Project: Https://github.com/jrburke/almond

Almond further optimization Requirejs

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.