safari don't cache files
i post my question here because i don't find any explication elsewhere
this is the header response for a js file :
server: nginx/1.25.4
date: Wed, 10 Apr 2024 06:53:02 GMT
content-type: application/octet-stream
content-length: 11871676
last-modified: Mon, 08 Apr 2024 15:12:48 GMT
etag: "66140970-b525bc"
expires: Mon, 07 Oct 2024 06:53:02 GMT
cache-control: max-age=15552000
referrer-policy: no-referrer
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-robots-tag: noindex, nofollow
x-xss-protection: 1; mode=block
accept-ranges: bytes
cache-control: private
for some reason, safari don't cache this file on disk (firefox and chrome do it).
I disable all the extensions and disable the privacy protection (this is a intranet service).
any idea ?
i already try `cache-control: public`
this other file (http response header) :
HTTP/1.1 200 OK
Date: Wed, 10 Apr 2024 09:38:26 GMT
Server: nginx
Content-Type: text/javascript; charset=utf-8
Content-Length: 1006128
Vary: Accept-Encoding
Cache-Control: public
Expires: Thu, 10 Apr 2025 11:38:26 GMT
Last-Modified: Wed, 27 Mar 2024 09:46:15 GMT
X-Content-Type-Options: nosniff
Accept-Ranges: bytes
is stored in disk cache
thanks