I'm using angular with i18n translations in json files like de.json and en.json. In my production environment (nginx) I have the problem that these JSON files are cached by the web browser. After an upgrade, Chrome will not download the new version of the current json file even though the date header has changed.
Request Information (Chrome):
- Request URL: https://[my-site]/assets/i18n/de.json
- Request Method: GET
- Status Code: 200 (from disk cache)
- Remote Address: X.X.X.X:443
- Referrer Policy: no-referrer-when-downgrade
Response Headers:
- content-encoding: gzip
- content-type: application/json
- date: Fri, 15 Feb 2019 09:04:42 GMT
- etag: W/"5c62bf4d-2aea"
- last-modified: Tue, 12 Feb 2019 12:42:53 GMT
- server: nginx/1.14.0 (Ubuntu)
- status: 304
Does anyone have experience with this problem and can help me?