472,358 Members | 1,913 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,358 software developers and data experts.

Do cached dynamically-compiled classes and assemblies expire?

Hi all,

We have the desire to improve the "first hit lag" issue our their
still low-volume asp.net 2.0 site.

I maintain that the app is being unloaded from IIS 6 due to idleness.
However, our web host maintains that we should pre-compile the site.

I know that pre-compiling will help with the first-hit after an update
to the site; but from that point forward, I wouldn't think it will
help because I'm not aware that dynamically-compiled classes and
assemblies are ever expired. Any thoughts on this?

We are seeing the "first hit lag" at various times each day (we update
the site no more than once a week).

BTW, to potentially address the IIS unloading, I've tried
"<httpRuntime shutdownTimeout="43200" />" in the web.config, and am
assessing the affect of this.

Thanks very much,
Dave

May 15 '07 #1
1 1566
Hi Dave,

I'd think your best strategy would be to ensure the site doesn't get idled.
You can hit the site occasionally with an HTTP ping of some sort. The idle
timeout in web.config is not the issue - its the timeout on the Application
Pool in IIS 6 and most likely it's set to 20 minutes.

I tend to use a pinging tool on all of my sites to check both for ensuring
the site is live and returning expected results as well as making sure that
the sites don't idle out. I use a tool called Web Monitor (yeah from my own
company <s>) but it's easy to set something up with task manager if all
you're after is pinging.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com/weblog
"BigDave" <da********@yahoo.comwrote in message
news:11*********************@q75g2000hsh.googlegro ups.com...
Hi all,

We have the desire to improve the "first hit lag" issue our their
still low-volume asp.net 2.0 site.

I maintain that the app is being unloaded from IIS 6 due to idleness.
However, our web host maintains that we should pre-compile the site.

I know that pre-compiling will help with the first-hit after an update
to the site; but from that point forward, I wouldn't think it will
help because I'm not aware that dynamically-compiled classes and
assemblies are ever expired. Any thoughts on this?

We are seeing the "first hit lag" at various times each day (we update
the site no more than once a week).

BTW, to potentially address the IIS unloading, I've tried
"<httpRuntime shutdownTimeout="43200" />" in the web.config, and am
assessing the affect of this.

Thanks very much,
Dave
May 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hugh Welford | last post by:
Hi I have recently changed web hosts, and am suddenly having the problem that IE is displaying cached ASP pages, i.e. displaying data base query results from the first assembly of the asp page....
6
by: Robert Scheer | last post by:
Hi. I have two .js files that are used on several of my pages. I made some changes in one of the files. When I call the pages, the old functions are called because of the browser's cache. What...
1
by: Harod Ruthgar | last post by:
var image = new Image(); image.src="pathToTheFile"; The above code is called 25 times (with different pathToTheFile) within a loop. I manually checked the cache directory and not all images...
1
by: antishok | last post by:
Hi, I'm writing a page which has a somewhat similar folder tree to that of the windows explorer, where each folder is made of a <SPAN> tag consisting of the folder image (closed or open) and the...
21
by: Jay Levitt | last post by:
I'm just starting to play around with CSS and MovableType. My home page (http://www.jay.fm) now validates on both the CSS and the XHTML. However, the Google cached version shows the wrong font in...
10
by: cosmic foo | last post by:
I have a page with about 100 images of about 10k each. where a typical img tag looks like this, <img src="item001.jpg" height="70" alt="" onMouseOver="showPic(this)" border="0"> Not all the...
2
by: ALPO | last post by:
ANy good examples of paging against a cached dataset. Our datasets will be cached in viewstate.
2
by: Thomas | last post by:
Hi, Is AppSettings cached? And is the cache updated when web.config changes? - Thomas
2
by: JTS | last post by:
How can I view all pages, user controls, etc that are currently cached? I simply want to know which pages have been cached, and which versions of the pages are currently cached. Is this possible?
0
by: Jim | last post by:
Hi, I'm working on a VS.NET 2003 (C#) app which will have several hundred pages. Most of the content is static, but there is a section for documents which is based on content from a database. ...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.