ArisiaInc / a21-remote-site

Website for logged-in attendees of Arisia 2021
Apache License 2.0
2 stars 2 forks source link

Fix caching when switching from logged-out to logged-in #468

Closed jducoeur closed 3 years ago

jducoeur commented 3 years ago

If you logged in as a program participant, and you had previously looked at the Schedule, and it hadn't changed in Zambia, you would still see the logged-out view without your prep sessions. This fixes that, by distinguishing the logged-out ETag.

(Yes, it's a conceptually ugly fix, but it's easy, safe, and works.)

Fixes #466