Question

Photo of Scott Behrends

0

Slow to load at first

Maybe this is just my VM, however I wanted to ask if anyone else is having this issue.

When Rock first loads, it can take 15+ seconds to load. From then, as I click around it gradually gets faster. Down to a few seconds or even MS load times. 

Setup: Hyper-V VM, 2 vCPUs, 4GB RAM, Server 2012 R2, SQL Express

  • Photo of Jon Edmiston

    1

    This is pretty typical behavior. On initial load the framework quickly looks at your database to ensure it's state matches that of the code. This can take a few seconds. It get's much faster after that, especially after a page is loaded. Rock uses a sophisticated caching engine. Once a page is loaded much about it is cached.  We can try to reduce the initial application load time but much of this is a part of Entity Framework.

  • Photo of Trey Hendon III

    0

    I have the same issue on my internal dev box.  However, I've not seen that on my Arvixe instance yet.  I'm wondering if I'm recycling my app pool too often or something.

    Edit:  I just launched my internal instance and it loaded extremely quickly.  I wonder if the .4 upgrade fixed the long initial loads?  Which version are you running Scott?

    Further Edit:  We found out that there was a Pulic IP conlfict with our Sandbox and Streaming video server.. sorry to muddy the waters.

  • Photo of Scott Behrends

    0

    Just as an update ...

    I now have the VM running on a newer server. It has 2 vCPUs, 4GB RAM, and lives on SSD storage. Page load still reported 7+ seconds to load, but it was more than that from the time I first hit the page. Like before, as I clicked through pages however it sped up dramatically and most pages loaded in under 0.4 seconds. 

    Also, we were on the latest at the time 0.4. I just upgraded to 0.5 this AM.