Groups | Blog | Home
all groups > asp.net caching > june 2006 >

asp.net caching : Can I used caching with personalization?


Bhavini
6/7/2006 11:25:01 PM
Hi All,

I am new to ASP.NET 2.0, I want to use caching with my application. But in
my application user can personalize layout (colors, themes etc). So can I use
Output caching in this case, or I will need to use data catching only?

I wonder if output caching will be used, all users will get same layout for
particular page. is it so?

Waiting for your reply

Thanks,
Balasubramanian Ramanathan
6/16/2006 6:34:02 PM
You can use output caching by caching multiple versions of page based on

a.. The VaryByParam attribute allows you to vary the cached output depending
on the query string.

a.. The VaryByControl attribute allows you to vary the cached output
depending on a control value.

a.. The VaryByHeader attribute allows you to vary the cached output
depending on the request's HTTP header.

a.. The VaryByCustom attribute allows you to vary the cached output by
browser type or by a custom string that you define.

[quoted text, click to view]

AddThis Social Bookmark Button