Results 1 to 4 of 4

Thread: How to promote the reactive speed of loading JS file

  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    6
    Vote Rating
    0
      0  

    Question Unanswered: How to promote the reactive speed of loading JS file

    Hi,
    I have transformed my program to ExtJs4. But I find that the loading speed will slow down when there are lots of JS file, especially in MVC program . It there any coding skill to make this better?
    Thanks.

  2. #2
    Sencha User
    Join Date
    May 2007
    Posts
    20
    Vote Rating
    0
      0  

    Default

    you can use 'Sencha SDK Tools ' to build the js files into one file
    guide/getting_started

    or In the development environment you You should probably use ext-all-debug.js

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    6
    Vote Rating
    0
      0  

    Default

    Thanks, I will follow it. And can the "jsbuilder " plugin make js files together?

  4. #4
    Sencha User
    Join Date
    Sep 2009
    Posts
    85
    Answers
    8
    Vote Rating
    0
      0  

    Default

    If you use the SDK and Ext.application({...}); the SDK put every class you use in one single JS file both Ext classes and self-defined classes.
    It generates one debug file with comments and one minified version.

    using the sdk speeds up my app from more than 10 seconds of loading to not more than 2 seconds.

    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •