all groups > asp.net caching > september 2005 >
You're in the

asp.net caching

group:

set outputcache for multiple pages


set outputcache for multiple pages Abraham Luna
9/9/2005 4:46:42 PM
asp.net caching: i know i can set the outputcache for a single page using the directive:

<%@ OutputCache Duration="60" VaryByParam="None" %>but how can i set it for
all the pages in a specific directory?i searched for a setting in the
web.config file but couldn't find it

Re: set outputcache for multiple pages Brock Allen
9/9/2005 9:17:58 PM
In ASP.NET 2.0 there is the notion of profiles which makes the management
of this easier. But you still have to tough every single page with the name
of the profile. I think the idea is that not every page can take advantage
of caching so it's a per-page configuration.

-Brock
DevelopMentor
http://staff.develop.com/ballen



[quoted text, click to view]


Re: set outputcache for multiple pages Abraham Luna
9/10/2005 6:56:49 PM
thank you


[quoted text, click to view]

AddThis Social Bookmark Button