Iron Speed Technical Forums
Sign up Latest Topics

  Author   Comment  

Posts: 67
Reply with quote  #1 

Any specific suggestions on how to improve first load time of pages for a Web App (using .NET 4.5 / VS 2013)?

- I had attempted to do the 'precompile during publish' feature of VS, however, all of IronSpeed's generated GetResourceValue code snippets cause every .ASPX to fail precompilation. Some of these I could fix and just put hard code/text into them, but some I can't (IronSpeed generated with no user access).. not to mention I've got a couple hundred pages thus far. 

- We're currently storing View State in the Page. I'm hesitant to flip that switch in IronSpeed to Session or Cache without knowing the repercussions (and benefits) of switching it (can I switch it back if it doesn't help? -- does it help?). 

- Anyone ever written any 'warmup' scripts that run every so often and 'warm up' every page -- or at least some of the bigger/slower pages/code files?

Thanks in advance,


Avatar / Picture

MVP Consultant
Posts: 968
Reply with quote  #2 

Turn off application pool recycling.

C. Bryan Patrick II
Iron Speed Designer MVP Consultant
Pseudo Consulting

Posts: 648
Reply with quote  #3 


                 There are many options some hacks and others supported by MS.  A quick hack is to use task scheduler to launch a browser passing it the site as a parameter.  You might be able to use powershell to perform something similar.  I’ve seen this mentioned before but never used it.

                 First make sure that you have debug set to false in the web.config.  This is a sure performance killer!

                 Some things you can do to make the application load faster in general is to make sure that you are using compression (gzip) for the site.  Set expiration headers far in the future for static content.  Minify your css, js files and bundle them if possible.  Use Yslow to help you understand where the site is the least responsive.  Use the network tab in browser developer tools to determine what content is taking the most time to load.  If possible defer loading your javascript files.

 These changes will make the application more responsive in general.

                 There are other options depending on the version of IIS that you are running the application on. IIS 7.5 has the option to add startMode AlwaysRunning to the applicationhost.config file for the application pool that your application is running on.  Google Application Initialization Module for plenty of examples.  As of IIS 8 application initialization is part of the platform.  For IIS 7/7.5 there is a separate download available via the web platform installer.

Thank you,
Phil Porter

Avatar / Picture

Iron Speed MVP
Posts: 556
Reply with quote  #4 

Precompile helps for sure, its worth trying to get that going. Is it actually a web application or web site? Web App would be better.

Keeping the site alive also helps as it never gets chance to unload itself when inactive. Of course there is a price to pay in that you are consuming resources regardless.

Ensure your first page loads quickly as well. If you are displaying a large dataset on the first page maybe turn on hide until searched setting for that panel.


Tim Titchmarsh Iron Speed Consultant MVP
London UK based
+44 (0)1621 835002

Posts: 67
Reply with quote  #5 
Thanks for all the suggestions! We will definitely start tackling/trying some of these.

I'll try to update with any progress.

Thanks again,



Posts: 1
Reply with quote  #6 

you can try some free javascript minifier and css minifier to reduce the whole size of your web page. so that your page will be load faster.


Avatar / Picture

MVP Developer
Posts: 1,966
Reply with quote  #7 
One of the major factors of slow loading is the presence of multi-tabs and DDL that populate lists every line. What we are doing is to load only the list on the new lines and skip all the others.   
Jimi J


  Jaime Jegonia

Iron Speed MVP Developer

". . . and whoever sows generously will also reap generously" 2 Cor 9:6

Previous Topic | Next Topic

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Download Iron Speed Designer

Terms of Service Privacy Statement