Questions tagged [disable-caching]

19 questions
16
votes
1 answer

How do I stop my rails application from returning a 304

I have a feeds controller that should NEVER return a 304. My render call looks like this ( where json_feed_content is a jsonp string ); render :text => jsonp_feed_content, :content_type => "application/json" I have set caching to false in my…
Stefan
  • 9,289
  • 7
  • 38
  • 46
15
votes
2 answers

Visual Studio 2017 Debugging - Disable Browser Cache

I use Visual Studio 2017 for web development pretty heavily, and when you let it open a browser (Chrome is my preference, though this would apply to Edge) it often loads cached versions of scripts and CSS. I know I can go to the Network tab and…
9
votes
8 answers

How to disable caching in the .NET WebBrowser Control?

I have been googling for hours and trying to figure this out, and I just can't. I have 1 webbrowser control on a form, webbrowser1. Once I load a page, say google.com, if I use webbrowser1.refresh() or webbrowser1.navigate("google.com"), it's not…
fMinkel
  • 179
  • 2
  • 5
  • 12
6
votes
1 answer

Visual Studio ASP.NET development server keeps returning old pages

I have created an ASP.NET 4 based website. At first I ran the default site as it was generated by Visual Studio ASP.NET 4 Internet Application template. I just hit the Debug button, and IE was launched, it connected to http://localhost:1341/ and…
6
votes
1 answer

Disable JavaScript caching in Google Chrome

Is it possible to disable JavaScript caching in Google Chrome? I turned off the cache in developer tools (Ctrl-Shift-I), but it still caches JS files... Using Chrome version 20.
Kozuch
  • 2,272
  • 3
  • 26
  • 38
4
votes
3 answers

Disable Sql 2008 caching?

I have application that makes different queries with different results so the caching in my case is harmful. This means there is no common data that sql may benifit from it to fetch the result from memory directly instead of making hard disk access.
Ahmed
  • 7,148
  • 12
  • 57
  • 96
4
votes
2 answers

Where is SetOaNoCache defined?

Attempting to disable BSTR caching: SetOaNoCache(); VC++ compiler build output: 'SetOaNoCache': identifier not found Don't want to use: OANOCACHE=1 Question: Where is SetOaNoCache defined - header file?
Aaron
  • 2,823
  • 9
  • 44
  • 57
4
votes
1 answer

How do you disable back and forward caching on iOS Safari?

In ASP.NET MVC we are having problems disabling back and forward caching on iOS. We don't want any of our pages in our site to be accessible from back and forward buttons for security reasons. We've tried setting: [OutputCache(NoStore = true,…
Treyphor
  • 175
  • 2
  • 8
3
votes
1 answer

Sencha Touch 2: Cannot disable the disableCache mechanism - app does not run offline

In my SenchaTouch 2 app the first lines in app.js read: Ext.Loader.setConfig( {enabled: true, disableCaching: false} ); Ext.data.Connection.disableCaching = false; Ext.data.JsonP.disableCaching = false; Ext.data.proxy.Server.prototype.noCache =…
Alex Monthy
  • 1,827
  • 1
  • 14
  • 24
2
votes
3 answers

Force IE to get a page

I've tried numerous ways to get IE8 to reload a page but failed. IE just keeps using it's internal cache without asking the webserver for it. I'm sending the following headers from my webserver: Response.Add(new StringHeader("Expires",…
jgauffin
  • 99,844
  • 45
  • 235
  • 372
1
vote
2 answers

Disable Cache in Chrome Developer Tools Not Working

The "Disable Cache" option in Chrome Developer Tools stopped working about a week ago (Mid February 2021). Is anyone else having this problem and is there a fix for it? I mean a browser fix. I already know how to "Trick" a browser into reloading…
1
vote
1 answer

HTTP/1.1 disable completely client cache

I have several sites that contains sensitive data so I want to disable client cache completely. I found there are 3 implementations used for Http/1.1 on google: Implement 1: Set "no-store" with the others response.setHeader("Cache-Control",…
LHA
  • 9,398
  • 8
  • 46
  • 85
1
vote
1 answer

s3fs disable cache

I have problem with viewing video from my bucket on S3. I'm using EC2 instance. Bucket mounted as folder via s3fs. When i try to load a big file i have a pause before starting download. In this pause, i see that file download (cache) to EC2. When it…
1
vote
1 answer

No caching and Logout in C# / asp.Net 3.5

I have a logout in my mastrpage.page_load in which I disable the cache like so: Response.ExpiresAbsolute=DateTime.Now.AddDays(-1d); Response.Expires =-1500; Response.CacheControl = "no-cache"; Response.Redirect("Login.aspx"); The logout…
cdub
  • 24,555
  • 57
  • 174
  • 303
0
votes
1 answer

Asp Mvc development, selectively disable cache only for JS / CSS / HTML files i'm currently working on

I'm developing an ASP MVC Single Page Application with Visual Studio 2012. It uses components made of static JS / CSS / HTML files and loaded per need. The approach works great without even needing bundling in production, since statics is cached by…
1
2