Results 1 to 6 of 6

Thread: Compress the framework

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default Unanswered: Compress the framework

    Hi,
    I am using the app builder(terminal) for creating the app package along with SDK. But now when I load the app on my phone, it takes about 60 seconds to load the app. How can I compress the whole framework so that it takes faster to load the app.

    Thanks!

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    100
      0  

    Default

    Do you use the sencha-touch.js or the debug versions? The regular ones should be minified which should help with the load time.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default

    I am using the SDK package which has sencha-touch.js , sencha-touch-all.js

  4. #4
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    100
      0  

    Default

    I think you have the same problem as this thread that was posted yesterday.

  5. #5
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    Are you using Sencha Command? When you do a build it will minify ST2 and also your application files
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #6
    Sencha Premium Member
    Join Date
    Aug 2011
    Location
    Hamburg - Germany
    Posts
    77
    Vote Rating
    1
      0  

    Default Sencha Cmd

    hallo,
    i just want to compress the js and css files before i put them in eclipse/phoneGap to make an apk Android file, but no way, i tried Sencha Cmd, went to the Application directory:
    D:\Daten\xampp\htdocs\Customer then made a buil.bat file which says: sencha app build
    but i get an error:
    Sencha Cmd v3.0.0.250
    [ERR] Please ensure this command was executed from a valid application
    directory
    [ERR] Unable to locate 'app.dir' config property from sencha.cfg
    I tried it bevor from Architekt but it is not working too, packaging and build is not working though Architekt or directly through Cmd.
    I would like to have a complete example or video to explain how to use cmd to compress the application.
    thanks
    isaid

Tags for this Thread

Posting Permissions

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