1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    20
    Vote Rating
    0
    sujeetkr is on a distinguished road

      0  

    Default Unanswered: loading controllers

    Unanswered: loading controllers


    Hi,
    I am facing problems regarding how do I initialize the controllers.

    1) If I initialize all the controllers at once, then it takes too much of time to load the site ~ it takes 13 seconds to load .

    2) If I load the controllers dynamically [on clicking menu buttons, corresponding controllers are loaded], then the problem is for the first time it takes 5 seconds to change the view. That is if I click on menu, nothings happen for first 5-6 seconds, then it loads the controller.

    Thanks,
    Sujeet

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,011
    Answers
    668
    Vote Rating
    460
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    it takes 13 seconds to load
    Is this using IE?

    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    20
    Vote Rating
    0
    sujeetkr is on a distinguished road

      0  

    Default


    I am using chrome.

    When I load controllers dynamically, then for first time it takes time and but once the controllers are loaded then it takes less time.

    Is these any way so that, I will load the controller when the user is idle ? eg Like first only load one controller and show one view to user and in the background start loading other controllers.


    Bye,
    Sujeet

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,011
    Answers
    668
    Vote Rating
    460
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    It should not take this much time. What is the response time if you run our MVC examples?

    Scott.

Thread Participants: 1

Tags for this Thread