1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    0
    drmonal86 is on a distinguished road

      0  

    Default Unanswered: Compress the framework

    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
    827
    Vote Rating
    55
    Answers
    84
    jerome76 has a spectacular aura about jerome76 has a spectacular aura about jerome76 has a spectacular aura about

      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
    drmonal86 is on a distinguished road

      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
    827
    Vote Rating
    55
    Answers
    84
    jerome76 has a spectacular aura about jerome76 has a spectacular aura about jerome76 has a spectacular aura about

      0  

    Default


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

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,581
    Vote Rating
    433
    Answers
    3100
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Are you using Sencha Command? When you do a build it will minify ST2 and also your application files
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

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

  6. #6
    Sencha Premium Member
    Join Date
    Aug 2011
    Location
    Hamburg - Germany
    Posts
    60
    Vote Rating
    1
    isaid is on a distinguished road

      0  

    Default Sencha Cmd

    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