Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34

Thread: EXT JS 6 performance

  1. #31
    Sencha User
    Join Date
    Apr 2013
    Posts
    908
    Answers
    105

    Default

    Quote Originally Posted by ebett View Post
    Hi, I need to compile a smaller app.js, only with the dependencies that my program uses. Is there any way to optimize the app.js size?Thanks
    If you require only classes and packages which you actually use in your code, the app.js generated by Sencha CMD should already include only the stuff that's actually needed. To decrease load times you should start utilizing local storage (see this video for more info (pass: webappdev)), using gzip compression, get rid of IE 8 & 9 bloatware (sass $include-ie: false). Also, watch this presentation by Art Kay for more ideas how you could improve performance.

  2. #32
    Sencha Premium Member
    Join Date
    Nov 2010
    Location
    Argentina
    Posts
    31
    Answers
    1

    Default

    Thank you, I used differents compressors in my small application.
    These are the results of app.js size:
    • yui 1638575 (1.56 mb)
    • clousure 1614902 (1.54 mb)
    • uglify 1581787 (1.50 mb)
    So, none of three reduces the app.js size too much.
    How I can use gzip compression? Thank you

  3. #33
    Sencha User
    Join Date
    Apr 2013
    Posts
    908
    Answers
    105

    Default

    It depends on what http server you are using. For example, in Apache you can use mod_deflate module.

  4. #34
    Sencha Premium Member
    Join Date
    Nov 2010
    Location
    Argentina
    Posts
    31
    Answers
    1

    Default

    Yes, I use tomcat web server. I found this configuration for compression.
    PHP Code:
    <Connector
     port
    ="9080"               
     
    connectionTimeout="20000"                   
    redirectPort="9443"               
     
    protocol="HTTP/1.1"                              
    compression="on"               
    compressionMinSize="2048"               
     
    useSendfile="false"              
    noCompressionUserAgents="gozilla, traviata"
    compressableMimeType="text/css,text/javascript,application/javascript"  
    /> 

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. On performance
    By edspencer in forum Ext:Bugs
    Replies: 11
    Last Post: 11 Sep 2011, 5:16 PM
  2. Help me about performance EXT.
    By maychu123 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 23 Aug 2011, 12:46 AM
  3. performance
    By dddesign in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 6 Sep 2010, 1:44 AM
  4. GXT 2.0 Performance
    By dgildeh in forum Community Discussion
    Replies: 1
    Last Post: 2 Jun 2009, 7:25 AM
  5. bad performance ie6
    By mlarese in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 8 Nov 2007, 6:38 AM

Posting Permissions

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