outputcache Questions
1
Solved
I a partial page creating the menu for application. I am calling the menu partial view using renderaction. I want to store this partial page on client side by doing this
[OutputCache(Duration=7200...
Hastings asked 20/6, 2011 at 11:26
1
Solved
When I use outputcaching on an action method it is cached by full url, what i would like to do is cache the page but ignore some parts of the url.
Custom route defined in Global.asax:
routes.MapR...
Mesnalty asked 14/4, 2011 at 8:11
2
Solved
I did my research but haven't found any answers.
I'm using Html.RenderAction in a masterpage ( to render page header with links specific to user permissions ). Action is decorated with OutputCache...
Stollings asked 16/3, 2011 at 13:45
2
I am looking at a Caching library that is trying to use the If-Modified-Since header of a request object. The problem is this header never gets set, it is always blank which makes sense to me seein...
Allot asked 22/2, 2011 at 17:9
1
I have an ASP.Net site (happens to be MVC, but that's not relevant here) with a few pages I'd like cached really well.
Specifically I'd like to achieve:
output cached on the server for 2 hours....
Gastelum asked 13/9, 2010 at 21:6
2
Solved
I've got a website that has a number of host headers. The theme and data depend on the host header, and different hosts load different looking sites.
So let's imagine I have a website called "Foo"...
Ptero asked 11/5, 2010 at 1:57
1
Solved
I'm writing an ASP.NET MVC site that includes the possibility for users to create accounts and log in. As I also want to cache the site aggressively, I'm running into some trouble mixing caching wi...
Thera asked 16/1, 2011 at 21:24
1
My website pages are composed of two kinds of content. The first is variable between users but constant for all pages. The second is constant across users, but variable between pages. This is a com...
Harberd asked 13/10, 2010 at 18:9
2
Solved
I was just testing Output Caching in the RC build of ASP.NET MVC 3.
Somehow, it is not honoring the VaryByParam property (or rather, I am not sure I understand what is going on):
public ActionRes...
Osher asked 23/11, 2010 at 14:59
1
Solved
in my asp.net mvc application i'm using the OutputCache attribute on different action method.
Is possible to view the current entries on the cache related to OutputCache attribute?
If i cicle on Sy...
Barbell asked 1/7, 2010 at 10:7
3
Solved
I am a newbie to caching and have no idea how data is stored in caching. I have tried to read a few examples online, but everybody is providing code snippets of storing and getting data, rather tha...
Liggett asked 9/12, 2010 at 16:39
1
I'm using output cache for a web site with login system. I have global pages which can be accessed by every user. These pages are cached and also use a master page.
<%@ OutputCache Duration="36...
Ammonal asked 15/11, 2010 at 21:56
2
Solved
This question is related to my other question.
I have an MVC application with caching disabled for all controller actions. I do this by setting cache response headers in Application_BeginRequest:
...
Aquatint asked 2/11, 2010 at 13:26
3
Solved
I'm learning ASP.NET MVC and bugged by one issue.
In the HomeController, the Index action has OutputCache attribute, but it seems doesn't work.
[HandleError]
public class HomeController : Control...
Ihs asked 27/11, 2008 at 10:52
4
Solved
I am using the standard outputcache tag in my MVC app which works great but I need to force it to be dumped at certain times. How do I achieve this? The page that gets cached is built from a very s...
Commando asked 18/12, 2008 at 3:40
3
Solved
I'm trying to do some caching using VaryByParam AND VaryByHeader. When an AJAX request comes in I return a partial XHTML. When a regular request comes in I send the partial XHTML page with header /...
Herold asked 7/5, 2010 at 6:41
1
Solved
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 Outpu...
Evanescent asked 10/8, 2010 at 1:1
2
Solved
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 interfere with authentication.
On all of my pages, I display...
Seymore asked 9/8, 2010 at 21:11
2
Solved
I'm using output caching in my custom HTTP handler in the following way:
public void ProcessRequest(HttpContext context)
{
TimeSpan freshness = new TimeSpan(0, 0, 0, 60);
context.Response.Cach...
Action asked 8/6, 2010 at 20:27
3
Solved
Greetings!
I've created an APSX web form that returns a remote image based on some supplied parameters. It can be used like this:
<img src="/ImageGetter.aspx?param1=abc&param2=123" />
...
Curriculum asked 13/4, 2009 at 21:35
1
Solved
I want to use an Enum value for the types of VaryByCustom parameters I will support, is it possible to do this?
I tried setting it in the page itself
<%@ OutputCache Duration="600" VaryByParam...
Prismatic asked 15/4, 2010 at 18:22
1
Solved
http://www.hanselman.com/blog/MixMobileWebSitesWithASPNETMVCAndTheMobileBrowserDefinitionFile.aspx
To the sake of simplicity, please try out this. Basically, I am trying to do the mobile view engi...
Overload asked 5/2, 2010 at 18:48
1
Solved
I am trying to do this, and it leads to result with contentlen 0
It looks like:
[OutputCache(Duration = 36000)]
public JsonResult GetFileClasses()
{
return this.Json(TopicConfig.FileExtensionsS...
Halsted asked 15/1, 2010 at 20:29
3
Solved
Here is the scenario, a user opens up non-secure page from our WebApp, let's call it PageA, in their browser and then clicks a link in there that takes them to a secure instance of PageB. Once in P...
Gasaway asked 14/7, 2009 at 0:17
3
Solved
for my current project it's necessary to generate dynamic CSS...
So, i have a partial view which serves as a CSS deliverer... The controller code looks like this:
[OutputCache(CacheProfile = "De...
Enrol asked 18/11, 2009 at 11:16
© 2022 - 2024 — McMap. All rights reserved.