ZEE
ZEE

Reputation: 186

Does AWS S3 cache mp3 files to local?

When I click the mp3 file's AWS S3 path, it plays in my browser, see screenshot below: enter image description here

Is the mp3 downloaded/cached to my local machine? If so where is it? I tried to search for it in Chrome cache folder but did not find anything. Very curious how this works exactly.

Upvotes: 0

Views: 181

Answers (1)

Michael Anckaert
Michael Anckaert

Reputation: 953

No, S3 doesn't cache any files locally. If a file were cached it's determined by your browser, who makes the decision based on a number of factors (such as HTTP headers, see [1]).

The reason the MP3 file plays in your browser is because your browser knows it can play the MP3 file and not just download it.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

Upvotes: 1

Related Questions