outputcache
How can i highlight the current page on menu when using OutputCache with ASP.Net MVC 2?
I have a menu which is created from the database. When the users navigate through pages the current page is highlighted with the css class.[详细]
2023-01-20 06:47 分类:问答Is there a way I can implement this specific kind of output cache for ASP.NET?
I want to run a custom logic, before the page life-cycle, to decide what version of a cached page I want to serve to the user.[详细]
2023-01-20 03:55 分类:问答MVC OutputCache issue
I am trying to cache the output of a controller action in MVC2 like this: [OutputCache(Duration = 600, VaryByParam = \"id\", Location=System.Web.UI.OutputCacheLocation.Server)][详细]
2023-01-17 05:52 分类:问答Is it possible to modify the default outputcache settings
I\'m trying to do something similar to this question, I have a multitenant application and want to configure the output cache to be per tenant. However I\'d rather not have to use a custom OutputCache[详细]
2023-01-15 13:00 分类:问答Cache page but count hits
I have an aspx page which counts every visit and creates a cooki开发者_JAVA百科e. But if I use OutputCache page counts only the first visitor who requested the page. How can I prevent this bug?[详细]
2023-01-12 10:19 分类:问答How do I use VaryByParam with multiple parameters?
In ASP.NET MVC2 I use OutputCache and the VaryByParam attribute. I got it working fine with a single parameter, but what is the correct syntax when I have several parameters on the method?[详细]
2023-01-12 07:50 分类:问答How to set the S-MaxAge CacheControl value in an ASP.NET app?
I\'m trying to set the cachability of an ASP.NET resource. So if I goto /foo/show it will show a View for some resource, and cache this for a few hours (for example). To do this, I\'m using the Output[详细]
2023-01-11 01:28 分类:问答Using ASP.NET MVC OutputCache while varying View content based on whether user is authenticated
I\'m building an ASP.NET MVC 2 site where I\'m using the OutputCache parameter heavily. However, I have a concern: using such caching may inte开发者_运维知识库rfere with authentication.[详细]
2023-01-10 17:11 分类:问答ASP.NET: Clear client output cache on log out
My web client requires client-side output caching since it makes use of its own Back and Forward buttons (which basically just call the browser back/forward buttons).[详细]
2023-01-07 22:12 分类:问答ASP.NET recreating cached control
I solved most of the issues I had with caching. But still there开发者_开发百科 is one thing. I have a UserControl for which I use output caching. Just like this:[详细]
2023-01-06 00:54 分类:问答