Extjs5 app. js buffer settings

Source: Internet
Author: User

After the official version of Extjs5 was released in June 2, The sencha recommended that the project compile be used to publish the application. during the development process, the sencha app watch command can be used to generate the service. Each time a js class is created, ctrl + C is required, and then re-enter the sencha app watch command. Otherwise, the new class will not take effect. when the project is finally released, the sencha app build will automatically compile the project, then deploy the compiled project to the server, and everything is not good at this time. You will find that every time you access the application, the compiled app. all js files will be downloaded again, which is very slow. Is there any way to speed up? In other words, can I directly buffer app. js? The answer is yes. Tracking the sencha code will find that a bootstrap. js file has a disableCaching attribute. You only need to set disableCaching to false.

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.