Installation and deployment
Version 7.x > Installation and deployment > Kentico sites after reboot View modes: 
User avatar
Member
Member
robert-pulldigital - 8/15/2013 3:54:17 AM
   
Kentico sites after reboot
Is there a few tips I could implement to speed up how long Kentico sites take to load up the first time after a reboot or when the app pool recycles. Most of the sites are 1-2 seconds but a couple of the Kentico sites can take 20-30 seconds. Once loaded they are fine so it rarely happens.

I'm wondering if it might if the site was deployed as precompiled or if there are IIS settings that can help.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/15/2013 7:13:54 AM
   
RE:Kentico sites after reboot
Hi,

I am not aware of any such tricks becasue the .Net has to compile the code and also on the initial load the cache is empty so all the data is requested and pulled e.g. from DB. The first start is always slow.

How come that some pages are compiled so fast? What is the difference and what data are displayed on the slower pages?

Best regards,
Juraj Ondrus

User avatar
Member
Member
robert-pulldigital - 8/15/2013 9:00:39 AM
   
RE:Kentico sites after reboot
The sites that take 1-2 seconds are not built on the Kentico framework but they are still asp.net sites.

It is not a problem for us that it takes a while to reload. I was hoping there was a trigger in IIS that when the app pool recycles it also hits the home page and essentially reloads the dll's into the app pool. It might be something we implement our selves.

Thanks

User avatar
Member
Member
Swainy - 8/15/2013 9:30:31 AM
   
RE:Kentico sites after reboot
Hi Robert,

Unfortunately not no (not that I know anyway), it's just the sheer number of files and number of items that have to be re-compiled that take the length of time.

This is one of the things i've fed back to Kentico and something they are looking at for version 8.0 surrounding speed of build times and speed of reload times, so hopefully there will be some improvement in V8.

Thanks,

Matt