OutPut Cache is the caching technique to cache the static pages in ASP.NET.
Questions tagged [outputcache]
680 questions
2
votes
3 answers
Redirect to login page when 'Back' button is clicked after log out
I am using MVC 3 for my project and my problem is like this:
I would like to have the user redirected to login page when clicking 'back' button after logging out. I am aware that clicking back button will give the user a copy of the previous page…

user887822
- 21
- 1
- 2
2
votes
1 answer
session becoming null in MVC AuthorizeAttribute
I am using an AuthorizeAttribute to check that users have an over 18 age cookie set to access pages.
This works fine, but I am extending in slightly now.
As all Views use this Attribute, I am using it to allow me to launch my site early.
If uses add…

mp3duck
- 2,633
- 7
- 26
- 40
2
votes
1 answer
Can WCF REST (WebHttpBinding) honor PROGRAMMATIC outputcache policies?
I know all about the AspNetCacheProfileAttribute. But is there any way to hook into the cache programmatically? I've tried using Response.Cache in global.asax which seems to set the correct client-side headers but the response is never cached on the…

roufamatic
- 18,187
- 7
- 57
- 86
2
votes
0 answers
ms charts with caching?
I put my implementation of mscharts 4.0 in a user control and it works great - just have to set a couple parameters and go.
I then went to cache the charts because some of them do some pretty intense work, but I get a broken image link when going…

Mario
- 3,405
- 6
- 38
- 48
2
votes
1 answer
WCF Rest 4.0, Dynamic Routing, and OutputCache
I'm having an issue getting OutputCaching to work with HttpContext.RewritePath for a WCF 4.0 WebHttp service.
My service is localized. The idea is that you call a URL like so:
/languageCode/ServiceName/Method
e.g.
/en/MyService/GetItems
And it'll…

roufamatic
- 18,187
- 7
- 57
- 86
2
votes
1 answer
web application memory usage with HttpRuntime.Cache
I've an application where we store datasets in HttpRuntime.Cache for Select operations ONLY (alltogether ~20MB of data if the dataset is saved as xml).
We migrated to a new Windows 2008 server x64, where IIS site based Output caching was…

balint
- 3,391
- 7
- 41
- 50
2
votes
2 answers
Keep my in cached memory objects when recompiling in Visual Studio
I have an MVC 3 site that uses cached in memory objects.
when the site first gets hit, it takes around a minute to build the cache, once built its very fast for everyone then on.
when im developing, ive had to reduce the number of cached objects as…

JGilmartin
- 8,683
- 14
- 66
- 85
2
votes
2 answers
ASP.NET Output Cache Provider for Redis doesn't store
I am not sure how to troubleshoot it but I am trying to implement ASP.NET Output Cache via Redis Output cache provider.
We have Redis server (non-azure) set up and I can store cache for general usage.
However, when I try to setup ASP.NET output…

James
- 579
- 10
- 26
2
votes
2 answers
Codeigniter: managing what to cache on each controller output
Good sunday everyone! I just started playing with codeigniter, up to now everything seems so clear (great docs!), but i'm trying to understand how works $this->output->cache().
What i wanto to do is to cache only some component of my interface. For…

Luciano
- 1,455
- 8
- 22
- 52
2
votes
0 answers
ASP.NET 4.0 PrivateBytesLimit not working
Does anybody know if there are any major changes in the output chache setting in the web.config in ASP.NET 4.0? I have created two websites one on .NET 3.5 and one on .NET 4.0. They have only one page with large html in it and output cache turn on.…

Vasil Trifonov
- 1,857
- 16
- 21
2
votes
2 answers
How to use outputcache in a usercontrol, with control properties
I have a UserControl, which should only change based on 2 URL parameters.
The problem is, it has a public property, which is used in the calling pages, so it throws a NullReferenceException on my property.
Any ideas?

thomasb
- 5,816
- 10
- 57
- 92
2
votes
1 answer
How to disable OutputCache for only one UserControl on a ASP.Net Page?
i am using OutputCache on a ASP.NET Page. I set it programmatically like this in my…

cpt.oneeye
- 644
- 8
- 26
2
votes
1 answer
How do frameworks like codeigniter do their page caching?
I know that codeigniter seems to save the view output for a specified number of minutes, and if s user requests that page again within that many minutes, it will serve the saved version of the page instead of processing the request again. It seems…

dqhendricks
- 19,030
- 11
- 50
- 83
2
votes
0 answers
how to vary cache by something other than the param
I am trying to use output cache in asp.net mvc for a bunch of data I load for an "account". However, the controller method that fetches the data, doesn't take in the account id as a param. The account is determined by looking at the url host in the…

Riz
- 6,486
- 19
- 66
- 106
2
votes
2 answers
Manually refresh output cache in IIS7
Problem description:
On our website we use standard asp cache with duration set to 5h.
It works fine, but sometimes the publisher add some special content that need to be showed impatiently on many different sub-pages (example some promoted…

itdeveloper
- 339
- 2
- 3
- 14