output-caching Questions

1

Solved

I have the code below and want Duration in [OutputCache(Duration = 10)] line to have a variable value so that I can read it from DB or from a List Collection. And I want be able to reset the serve...
Entitle asked 4/8, 2017 at 2:27

4

Solved

Like the question says, I wanted to know if it's possible to turn off caching on all controllers and actions for my entire site. Thanks!
Gaultheria asked 23/2, 2012 at 1:48

1

I want an easy way to clear cached pages on my asp.net-mvc website. I have expensive DB operations so i often use outputcaching to make the site run faster. I have code that looks like this:...
Cindacindee asked 27/6, 2011 at 17:37

1

Solved

Is there a was to set the duration of caching in the web.config for MVC4 .net pages? I have : [OutputCache(Duration = Convert.ToInt32(ConfigurationManager.AppSettings["cache.eventPage"]), VaryByPa...
Schorl asked 2/7, 2013 at 18:45

1

Solved

I'm using ASP.NET MVC3. I've used Output Caching on controller method. [OutputCache(Duration = 3660, VaryByParam = "none")] public ActionResult Index() { some code; return View(); } I want...
Hydrolyte asked 3/5, 2012 at 7:20
1

© 2022 - 2024 — McMap. All rights reserved.