Questions tagged [output-caching]
37 questions
1
vote
0 answers
Add postback-button to output-cached usercontrol
I have a list of items which are output-cached in a user control. If an administrator is logged in, I would like to add a delete button to each of the items.
Without output-caching I check whether the current user is member of the administrator…

ThomasD
- 2,464
- 6
- 40
- 56
1
vote
0 answers
Is Gradle supposed to invalidate its task cache when task definition changes in the build script?
In my build.gradle.kts I am doing text replacement while extracting an archive. I am using filesMatching to do the replacement.
My problem is that when I replace the "Your Momma" in the script source with something else and rerun the task, Gradle…

user7610
- 25,267
- 15
- 124
- 150
1
vote
0 answers
MVC Output Caching Expire After 1 Min
I've set an output cache for an Action as set out below. The cache duration is set for 3600 seconds, but the cache is refreshed every minute. Any help would be appreciated. Thank you.
[OutputCache(Duration = 3600, Location =…

Farid Savad
- 163
- 1
- 11
1
vote
1 answer
NopCommerce - OutPutCaching not working on Parent Page
If I apply [OutputCache(Duration = 600)] on Any Child action [ChildActionOnly] it works just fine. but if Apply caching on a main action.
It will keep hitting the action every time I refresh the page.
I created a new controller which inherits MVC…

Khan
- 43
- 6
1
vote
3 answers
Caching compressed data from WCF on IIS
I have a WCF service hosted on IIS. Size of responses are quite big so I require a dynamic data compression that is enabled on IIS side (Service uses wsHttpBinding).
At some point I realize that I need caching of the compressed data too. Each of the…

Anton Kattsyn
- 33
- 5
1
vote
1 answer
Kernel Mode Output Cache limitation
As per the IIS Output Caching documentation,
"Kernel Mode Output cache does not support modules and features that must run in user mode, such as authentication or authorization. Example: If authentication schemes like Basic or Windows authentication…

Santhosh
- 1,357
- 4
- 15
- 30
0
votes
1 answer
ASP.NET Programmatically enabling Output Caching does not work -> Why?
why, in the below aspx and code behind, when Output Caching is enabled programmatically (enabled in code behind), it does not work and has a problem?
aspx:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="ProgrammaticOutputCaching"
…

SilverLight
- 19,668
- 65
- 192
- 300
0
votes
1 answer
How to Uncache current page from outputcache in ASP.Net
I have enabled page caching for my ASPX pages with
<%@ OutputCache Duration="7200" VaryByParam="*" Location="Server" %>
However, the next time the page is regenerated, if there happens to be an error in the page, that also gets cached, and the site…

Al Davinci Leonardo
- 11
- 3
0
votes
1 answer
The best way for caching data in MVC 3 and EF 4
Which is the best way to caching data and page's output (both) in ASP.NET MVC 3 and EF 4?
Is there any framework|library to this?
Thanks to all;

amiry jd
- 27,021
- 30
- 116
- 215
0
votes
3 answers
What is the best way to cache large data objects into Hazlecast
We have around 20k merchants data ,size around 3mb
If we cache these much data together then hazlecast performance not doing good
Please note if we cache all 20k individual then for get all merchants call slowing down as reading each merchant from…

arupc
- 356
- 1
- 3
- 12
0
votes
1 answer
System.Runtime.Caching.MemoryCache be persist for application across users in production
I have created a webapi2 app with angular2 application and angular service call to webapi , if webapi is got down , have to load the data from cache and the cache is expire after 20 minutes.
I am using Memory cache to cache the data in webapi. It is…

Mohamed Sahir
- 2,482
- 8
- 40
- 71
0
votes
2 answers
Is it possible to get the currently evaluated control from Global.asax.GetVaryByCustomString()?
We have an ASP.NET Web Forms Sitecore site, where we are using HTML output caching using the OutputCache directive, VaryByCustom attribute, and an added GetVaryByCustomString() method in Global.asax.
Is it possible to get a handle to the current…

Iucounu
- 1,630
- 1
- 20
- 31
0
votes
0 answers
EPiServer Output Cache clearing for no reason
We recently put live EPiServer output caching, this works fine locally and on our staging sites. For some reason since going live yesterday pages don't seem to stay in the cache for long, if at all. I can't see any obvious reason for this aside from…

Daniel Pickford
- 125
- 11
0
votes
1 answer
Stop Hits on server side code
I am using Output cache on Webpart in my ASP.Net application.
and using <%@ OutputCache Duration="86400" VaryByParam="None" VaryByCustom="ConferenceID" %>
I notice that webpart contents are coming from cache but my server side code also running that…

Dalvir Singh
- 423
- 3
- 11
- 25
0
votes
0 answers
Is clearance of output caching clear all caching?
I have implemented output caching in my project on two action methods named "XYZ" & "ABC". Please note controller is different for both of the methods.
If I will clear the output caching of action "XYZ" on any event, will it clear caching of another…

Ankita
- 1,416
- 4
- 17
- 42