Questions tagged [output-caching]
37 questions
0
votes
2 answers
How to bust/clear OutputCache for specific Controller/Action in ASP.NET MVC
Been struggling with this one for hours now. Here is what I am trying to solve :
I have this controller/action which uses a CacheProfile:
[DonutOutputCache(CacheProfile = "CachedAction")]
[ChildActionOnly]
public ActionResult…

StackThis
- 1,262
- 1
- 14
- 23
0
votes
1 answer
Remove OutputCache from MVC controller
I'm stuck trying to figure out why the outputCache is not getting cleared on the following
setup.
Pretty much every link I have checked to clear an outputCacheItem says to just call the RemoveOutputCacheItem(string) method. However I am finding…

macm
- 544
- 7
- 21
0
votes
0 answers
OutputCache with multiple VaryByParam
My class Goes like this
public class Search
{
public string SearchText { get; set; }
public string ContinentId { get; set; }
public string CategoryId { get; set; }
public string InformationById { get; set; }
public string City…

Swagat Swain
- 495
- 1
- 4
- 22
0
votes
1 answer
Output Cache not caching all pages
I have a cache rule in a directory by file extension and there are 2 dynamic pages in that directory.

Control Freak
- 12,965
- 30
- 94
- 145
0
votes
2 answers
Codeigniter output cache: what parts of the called controller function get executed?
One of the main purposes of caching is to save resources and not do things like hit your database every request. In light of this, I'm confused by what all Codeigniter does in a controller when it encounters a cache() statement.
For…

tim peterson
- 23,653
- 59
- 177
- 299
0
votes
0 answers
ASP.NET Output Cache tag causing issues
I'm trying to cache a ascx control in .NET because it's slowing down the website - it works for a few seconds well up to a minute but after that it breaks the main menu of the website and squashes it together.
<%--<%@ OutputCache…

mjcoder
- 1,009
- 9
- 25
- 45
0
votes
1 answer
Can I use Memcache for output caching?
So far, I have only used memcache to cache data (usually the output of an SQL query). Now, I am required to cache output HTML for a few pages of my dynamic site. I will need these pages to be cached for 7 days (even if there is a data change). Is it…

gentrobot
- 673
- 6
- 25