Hey, I have a site that I am making (<a href="http://handman.tzo.net:8084">http://handman.tzo.net:8084</a>) that loads pretty slow when the user hits the page for the first time.
I understand that the JIT is compiling it and the whole thing... But my question is there anyway to make the site load up any faster?
For example: this site (CSharpFriends.com) loads up fast compared to my site. What did you guys do?

1 answers
Loads quickly for me.
answered 2 years ago by:
0
The reason why it loaded quickly for you is because the site was still in memory. By default, ASP.Net apps will stay in mem for 20 mins. I question is there a way to always keep the site in memory?
answered 2 years ago by:
0
Actually it is not that. The very first hit takes time. From then onwards performance would be good, until you refresh your webserver.
answered 2 years ago by:
0
Do you know what can be done about it??
answered 2 years ago by:
0
Pre-compile everything....
answered 2 years ago by:
0
what do you mean by "pre-compile"? Could you give me an example?
answered 2 years ago by:
0
Paul Wilson has developed a pre-compile app, but I have not tried it yet:
http://aspalliance.com/PaulWilson/Articles/?id=9
I downloaded it. There is very little code to it. You can add the code yourself or use his own assembly.
answered 2 years ago by:
0
Thanks alot!!
answered 2 years ago by:
0
You could use .dll's in the GAC. The .dll don't need to use the JIT. I haven't used that technique, but I do recall the subject and that it would really increase load speed. I will go back and find where it was referenced and give you that information, book, chapt, author etc.
answered 2 years ago by:
0
Yep. You are right. We did that in our current project. We have developed our own framework, which actually serializes the UI completely and then the same serialized UI Data is used for various by-apps and other apps. Initially we did put that one local. The we thought, why can't we push it to GAC, so it would be shared among the applications and thence loading multiple copies of the same, when all the apps are hosted on the same box and running on top of same runtime. This framework comprises UI, security and some XML stuff used to serialize the UI and security roles. Then really the app started performing very well and loads faster.
answered 2 years ago by:
0
Could u post a link
answered 2 years ago by:
0
Wait for a week, once our system goes into production, I could post the framework design and code here. :-)
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!