473,835 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
"<httpRunti me shutdownTimeout ="43200" />" in the web.config, and am
assessing the affect of this.

Thanks very much,
Dave

May 15 '07 #1
1 1635
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********@yah oo.comwrote in message
news:11******** *************@q 75g2000hsh.goog legroups.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
"<httpRunti me 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
1677
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. Surely this contravenes the whole principleof ASP as a dynamically generated page. I didnt get the problem with my previous host. What am I to do about this? If it is browser dependent, how can I be sure that all users have their browsers set...
6
7853
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 is the best way to update the browser's cache with the newer version of my .js file? Thanks, Robert Scheer
1
1923
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 are cached, sometimes it's only 3, sometimes 4, etc, and mostly only the last few images within the loop.
1
2227
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 folder name. When certain actions are performed by the user, more folders (spans) are dynamically added using javascript function appendChild(). I add a new folder span to a container span which holds the whole tree.
21
3913
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 IE6. This seems to be because of the "header" they place before the <head> block; if I save the cached copy to disk and edit that out, it displays fine. It's not a big deal, but I don't notice this problem on other pages, so I wondered if...
10
1887
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 images need to be viewed at once, depending on what category is selected, only about 10 images are seen at any one time. I hide and show categories of images by setting a div container display:none/block or visibility:hidden/visible. Even though the...
2
1413
by: ALPO | last post by:
ANy good examples of paging against a cached dataset. Our datasets will be cached in viewstate.
2
2319
by: Thomas | last post by:
Hi, Is AppSettings cached? And is the cache updated when web.config changes? - Thomas
2
1460
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
1269
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. These documents may be associated with multiple ASPX pages. When information about those documents is updated (the name is changed or it is associated or unassociated with particular ASPX pages) from the administration pages that are part of the...
0
9803
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9652
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10523
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10233
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7766
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5636
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3088
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.