473,395 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1611
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.