.Net 2.0 load all .dll into cache when IIS starts

C

Charlie Hoo

Hello,

Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?

Thanks a lot.
 
M

Mark Fitzpatrick

Something must hit the web site, either a user or a bot. IIS will begin
processing when the application start event is fired and will release the
cache when the application end event fires (approximately the same time that
the last session in the web times out). There's no other way to really
handle this except by having some bot that will hit the web site very x
minutes. Keep in mind, you don't always want the app in cache, you'll want
it to recycle so IIS can regain resources and improve efficiency.
 
C

Charlie Hoo

Hello, Mark,

Thank you for your quick response. Could you also tell me how to load all
..dll(s) and pages when the first user hits the website(.Net 2.0) no matter
whether the .dll(s) are used for current page or not? In other words, all
pages and needed .dll(s) are loaded into cache for whole web application.

Thank you again for your help.

Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top