473,320 Members | 1,982 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,320 software developers and data experts.

Caching my ASP.NET Site

Hi NG,

I have build a little ASP.NET application, that provides my other sites
with picturestreams from a database.
Everything is fine, except that loading a picture the first time takes
some seconds. I guess there is some compilation etc. in the background.
After the first time, the picturesite responds in an instant.

So my question: Can I force the ASP.NET site to be "permanently cached",
so that it responses fast even the first time? I have it running on an
IIS 5.1 Server.

Thanks in advance,
Frank
Nov 19 '05 #1
2 860
Not until 2.0 arrives will we truely have a workable solution for the
start up compilation penalties. There are some workarounds available
but someone will always have to 'pay the price' on first hit in 1.x.
--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 08 Feb 2005 18:16:28 +0100, Frank Schumacher
<fs*******@informatik.uni-leipzig.de> wrote:
Hi NG,

I have build a little ASP.NET application, that provides my other sites
with picturestreams from a database.
Everything is fine, except that loading a picture the first time takes
some seconds. I guess there is some compilation etc. in the background.
After the first time, the picturesite responds in an instant.

So my question: Can I force the ASP.NET site to be "permanently cached",
so that it responses fast even the first time? I have it running on an
IIS 5.1 Server.

Thanks in advance,
Frank


Nov 19 '05 #2
Thanks for the info, Scott.
Now I can stop searching for it :)

Scott Allen wrote:
Not until 2.0 arrives will we truely have a workable solution for the
start up compilation penalties. There are some workarounds available
but someone will always have to 'pay the price' on first hit in 1.x.
--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 08 Feb 2005 18:16:28 +0100, Frank Schumacher
<fs*******@informatik.uni-leipzig.de> wrote:

Hi NG,

I have build a little ASP.NET application, that provides my other sites
with picturestreams from a database.
Everything is fine, except that loading a picture the first time takes
some seconds. I guess there is some compilation etc. in the background.
After the first time, the picturesite responds in an instant.

So my question: Can I force the ASP.NET site to be "permanently cached",
so that it responses fast even the first time? I have it running on an
IIS 5.1 Server.

Thanks in advance,
Frank


Nov 19 '05 #3

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

Similar topics

10
by: Jon Maz | last post by:
Hi, My goal is to take the entire html/javascript stream spat out by .aspx pages and save them as simple strings in a database (for caching purposes). I'm not sure how I can get hold of this...
3
by: moondaddy | last post by:
I have a site where I have only one page and lots of user controls. Rather than passing parameters into the page (mysite/default.aspx?MenuID=123), I pass in a url like this...
1
by: Leo Muller | last post by:
I am impressed by the caching performance of .NET. However, there is one major obstacle that I haven't managed to solve yet. What I want to do is the following: I have a normal site, and a...
13
by: tshad | last post by:
How do we handle Caching in IE? It seems that my system works fine in Mozilla and Netscape when I make changes. But in IE the changes are not brought across when someone has been to the site...
1
by: Ben Fidge | last post by:
What are best practices for page output caching on pages that are dynamically generated from database tables. Our site has left-hand navigation that is comprised of dynamically generated menus...
4
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So......
4
by: sloan | last post by:
It looks like the default Membership Provider (and Role Provider) always goes to the database to get its info. (GetUsers, GetRoles, etc , etc). I guess I'm going to roll my own, because I am...
3
by: Gary W. Smith | last post by:
I had a couple questions about data caching. We have a site that gets a huge amount of traffic to a few specific pages that have a lot of data on them (300k hits/hour during peak, about 6-10 data...
14
by: Rowan | last post by:
What is the best approach to caching database results. example say i'm doign an update on several entries which i've loaded into an array. I want to allow the user to click through and up date each...
4
by: Girish | last post by:
i have to implement caching in my application, can any one tell me about the good techniques to implement caching, or provide some architectural help , so i can use it to my application. i want...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.