A Cache-Control response directive in the HTTP header
Questions tagged [no-cache]
93 questions
0
votes
0 answers
Blazor WebAssembly caching on IIS
I have migrated my Blazor project from net5 to net6.
However, I get the following error when launching the website:
Uncaught (in promise) error: could not find class: Microsoft.AspNetCore.Components.WebAssembly.Hosting:EntrypointInvoker in assembly…

Cosmin
- 411
- 4
- 16
0
votes
1 answer
Does no-cache allow a stale cached response to be returned?
I'm reading contradicting statements about no-cache and must-revalidate.
This answer says:
With must-revalidate, if the server doesn't respond to a revalidation
request, the browser/proxy is supposed to return a 504 error. With
no-cache, it would…

David Klempfner
- 8,700
- 20
- 73
- 153
0
votes
1 answer
IIS Internet Information Server no-cache setting in web.config
I am working on Azure Service with IIS; however, I cannot make the web.config works with no-cache.
How can I change it for no-cache and overwrite all js scripts?

James Kwon
- 1
- 2
0
votes
1 answer
NoCaching A Small Part Of My CakePHP Page
I want to employ CakePHP's basic caching functionality on my site's home page. However, there is one element on the page that should display different data depending on the visitor's location, as determined by their IP address.
You can't wrap…

thesunneversets
- 2,560
- 3
- 28
- 46
0
votes
1 answer
Change response cache header for a request
I'm working on a web app that uses an external api where I don't have any control on the response cache options. The endpoint gives cache-control: private, no-cache, no-store, must-revalidate, where I need to make response storable and cachable…

Mohammed Rhaouti
- 5
- 4
0
votes
0 answers
What happens if no-cache when the http response is the same
I add a no-cache header in the response to ensure the browser will only make use of the copy if the response is different.
But, all requests hit the MVC action and same response is sent back to the browser. However, I expect a 304 status will be…

Charlie
- 2,141
- 3
- 19
- 35
0
votes
1 answer
How to add hash strings to custom resources urls in a Bokeh Application?
I am programming a Bokeh Server Application with templates. I have added some custom CSS and JS files. But when I make some changes the files are reloaded from the cache and I cannot see the new changes. One solution is to add a variable at the end…

ChesuCR
- 9,352
- 5
- 51
- 114
0
votes
1 answer
How to disable image caching in Odoo email?
I'm currently using Odoo 12.0+e-20181025. I have changed the logo for the email but the GMail that has received the previous email refused to show the new logo although the link of the image in the email has pointed to the new logo.
I have…

shad12ow
- 169
- 6
0
votes
0 answers
html5 audio player with no cache
I want to have a html5 audio player that plays a shoutcast stream with no cache.
I've tried the answer given here Link
and tried to load the stream with a php file,
But it doesn't work for me, what am i doing wrong?
So the script i use is…

Jannes
- 1
- 5
0
votes
2 answers
Disable browser caching HTML5
I would like to know how to disable the browser cache, using HTML5.
I found this useful post (How to control web page caching, across all browsers?), but it contains the info only for HTML4 or other languages.
In my web application I use Java…

Giampiero Poggi
- 389
- 1
- 4
- 13
0
votes
0 answers
How to automatically refresh external data loaded into Javascript variables in HTML?
I have digital information written as Javascript variables by PHP into a .txt-File. This information gets changed by a user at a different interval.
var ISTUHSXDATE8 = '21.1.2018';
var ISTUHSXTIME8 = '20:11';
var ISTUHSXROT8 = 0;
var ISTUHSXGELB8 =…
0
votes
1 answer
Google Chrome Version 63.0.3239.84 (Official Build) (64-bit) Caching 302 Redirect Incorrectly?
After updating to Google Chrome Version 63.0.3239.84 (Official Build) (64-bit), I'm seeing some strange behavior in one of my 302 redirects (shown below).
The cache-control headers are set to no-cache, must-revalidate, yet Chrome now randomly serves…

Luke A. Leber
- 702
- 6
- 17
0
votes
1 answer
URLResponse cached although response's cache-control header is set to no-cache
In my iOS app I want to cache images that are requested from different destinations. For downloading images I use URLSessionDataTasks with the default caching mechanism provided by URLSession.shared, which makes use of the…

Kai
- 1,277
- 2
- 15
- 25
0
votes
0 answers
How to avoid browser caching anything from a specific page
I have a slideshow that I preview (custom html/js) and to make sure that I get the most recent version from the DB every time I start the slideshow preview, I have these cache statements in my html file