Questions tagged [no-cache]

A Cache-Control response directive in the HTTP header

85 questions
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
  • 297
  • 1
  • 3
  • 10
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…
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
  • 967
  • 1
  • 12
  • 20
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