- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I have to have several certain cache-control directives set on an ASP.NET page in order to pass a Hailstorm security scan. For example, it wants me to have
Cache-control: no-cache="set-cookie"
in addition to
Cache-control: no-cache
I have been setting the latter with the following line in my C# codebehind:
Response…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Scenario:
I have a base controller which disables caching within the OnActionExecuting override.
protected override void OnActionExecuting(ActionExecutingContext filterContext)
{
    filterContext.HttpContext.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
    filterContext.HttpContext.Response…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hi,
I set up cache-control and expires headers via .htaccess but already it doesn't load from browser cache. When i enter the uri, i am waitting for load from web site.
URI: http://www.btgmaslak.com/static/images/main_container_background_11.jpg
            >>> More
 
- 
            
            as seen on Geeks with Blogs
            - Search for 'Geeks with Blogs' 
            
 HEHE it's a stupid problem, for those who care place the following on the load event of the master page or default
            Response.AppendHeader("Cache-Control", "no-cache"); //HTTP 1.1 
             Response.AppendHeader("Cache-Control", "private"); // HTTP 1.1 
             Response.AppendHeader("Cache-Control"…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hello,
I am having a problem with ajax requests in Internet Explorer and in Chrome - I cannot bust the cache.  Normal pages don't have the problem - it's just the ajax requests.
I know that one workaround is to append a random query string variable to the end of the URL.  However, I don't want to…
            >>> More