HighTechTalks DotNet Forums  

cache page or datasource

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss cache page or datasource in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
TomislaW
 
Posts: n/a

Default cache page or datasource - 12-08-2004 , 04:41 AM






What is the better to cache pages or data sources?
I have asp.net application that uses ArrayLists as datasources for
repeaters.



Reply With Quote
  #2  
Old   
CMA
 
Posts: n/a

Default Re: cache page or datasource - 12-16-2004 , 03:19 AM






hi,

if you cache the dataset you need to process and generate the page again.
that page is almost same since the data is not changed(cached data). so it
is better to cache the page. it will save DB processing as well as
application server processing.

CMA

"TomislaW" <tomislav147 (AT) hotmail (DOT) com> wrote

Quote:
What is the better to cache pages or data sources?
I have asp.net application that uses ArrayLists as datasources for
repeaters.





Reply With Quote
  #3  
Old   
TomislaW
 
Posts: n/a

Default Re: cache page or datasource - 12-16-2004 , 03:33 AM



What about images?

Are they cached too?

I have pages with lot of images.




"CMA" <cmallawaarachchi (AT) textcentric (DOT) lk> wrote

Quote:
hi,

if you cache the dataset you need to process and generate the page again.
that page is almost same since the data is not changed(cached data). so it
is better to cache the page. it will save DB processing as well as
application server processing.

CMA

"TomislaW" <tomislav147 (AT) hotmail (DOT) com> wrote in message
news:#rZEQoQ3EHA.3120 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
What is the better to cache pages or data sources?
I have asp.net application that uses ArrayLists as datasources for
repeaters.







Reply With Quote
  #4  
Old   
CMA
 
Posts: n/a

Default Re: cache page or datasource - 12-16-2004 , 04:11 AM



hi,

if the controls are not changing time to time frequently.. then cache the
whole page. it will cache the images also.
if those change quickly, then just cache the datasets.

CMA

"TomislaW" <tomislav147 (AT) hotmail (DOT) com> wrote

Quote:
What about images?

Are they cached too?

I have pages with lot of images.




"CMA" <cmallawaarachchi (AT) textcentric (DOT) lk> wrote in message
news:O3$Z3f04EHA.3120 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
hi,

if you cache the dataset you need to process and generate the page
again.
that page is almost same since the data is not changed(cached data). so
it
is better to cache the page. it will save DB processing as well as
application server processing.

CMA

"TomislaW" <tomislav147 (AT) hotmail (DOT) com> wrote in message
news:#rZEQoQ3EHA.3120 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
What is the better to cache pages or data sources?
I have asp.net application that uses ArrayLists as datasources for
repeaters.









Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.