Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Caching web pages.

Reply
Thread Tools

Caching web pages.

 
 
UJ
Guest
Posts: n/a
 
      06-09-2006
We are about to move our web site to be more dynamic - people will be
editing things like text strings on a page. This stuff won't change very
often. I was wondering if Output Caching would be reasonable so that the
pages don't get regenerated every time somebody goes to a page.

Would Output Caching be appropriate here? What's a reasonable duration to
keep the page cached? I assume that memory becomes an issue as you cache
more and more stuff. How does the system know whether to use the cached page
or not? For instance - I log in as user X - on the page it says User X
(which I got from the code behind.) User Y logs in. I assume it will not
use the cached page because it 'knows' it's different. Is that true?

TIA - Jeff.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      06-09-2006
Jeff,
The only problem with caching is that not enough developers have taken the
time to become smart enough to use it!


Here's an article that attempts to pull a lot of useful information into one
place:

http://www.eggheadcafe.com/articles/20060407.asp

Peter


--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"UJ" wrote:

> We are about to move our web site to be more dynamic - people will be
> editing things like text strings on a page. This stuff won't change very
> often. I was wondering if Output Caching would be reasonable so that the
> pages don't get regenerated every time somebody goes to a page.
>
> Would Output Caching be appropriate here? What's a reasonable duration to
> keep the page cached? I assume that memory becomes an issue as you cache
> more and more stuff. How does the system know whether to use the cached page
> or not? For instance - I log in as user X - on the page it says User X
> (which I got from the code behind.) User Y logs in. I assume it will not
> use the cached page because it 'knows' it's different. Is that true?
>
> TIA - Jeff.
>
>
>

 
Reply With Quote
 
 
 
 
UJ
Guest
Posts: n/a
 
      06-09-2006
Cool Peter. Thanks for the info.

Jeff.

"Peter Bromberg [C# MVP]" <> wrote in message
news:B651DB77-6E61-4A8F-B531-...
> Jeff,
> The only problem with caching is that not enough developers have taken the
> time to become smart enough to use it!
>
>
> Here's an article that attempts to pull a lot of useful information into
> one
> place:
>
> http://www.eggheadcafe.com/articles/20060407.asp
>
> Peter
>
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "UJ" wrote:
>
>> We are about to move our web site to be more dynamic - people will be
>> editing things like text strings on a page. This stuff won't change very
>> often. I was wondering if Output Caching would be reasonable so that the
>> pages don't get regenerated every time somebody goes to a page.
>>
>> Would Output Caching be appropriate here? What's a reasonable duration to
>> keep the page cached? I assume that memory becomes an issue as you cache
>> more and more stuff. How does the system know whether to use the cached
>> page
>> or not? For instance - I log in as user X - on the page it says User X
>> (which I got from the code behind.) User Y logs in. I assume it will not
>> use the cached page because it 'knows' it's different. Is that true?
>>
>> TIA - Jeff.
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad ASP .Net 3 01-21-2010 10:13 AM
Non-web version of System.Web.Caching.Cache Steve W ASP .Net 2 02-24-2005 02:37 AM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
.NET Web Caching Tim ASP .Net 0 08-06-2003 12:02 AM
trouble with caching or caching the trouble Hypo ASP .Net 6 08-01-2003 07:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57