freifunkh / ansible

Here we store all Ansible roles and configs used for Freifunk Hannover.
MIT License
7 stars 3 forks source link

nginx allows cached outdated content #188

Open AiyionPrime opened 3 years ago

AiyionPrime commented 3 years ago

This is related to https://github.com/freifunkh/ansible/issues/178#issuecomment-795337604

After yanic died, my browser (Firefox 86.0) found the old meshviewer.json sufficient. (200 Cached)

We restarted the webserver on harvester and web, which did not change anything. Maybe we are missing a header that implies: never ever cache this content for paths below api.

Schreib daneben, dass das bei mir nicht reproduzierbar ist. @1977er

1977er commented 6 months ago

Still cannot reproduce this. Checked with Librewolf/Firefox 120 and Chrome 120. Both fetch meshviewer.json properly every minute getting a fresh version from nginx with updated content (checked with the timestamp) and a new etag in the http response header. Each request is answered with 200 Ok and not 200 Cached.

@AiyionPrime Can you still reproduce this? Please close otherwise.

1977er commented 5 months ago

@AiyionPrime Is this still a thing?