Skip to content

Yet another iteration of the etag computation

Paweł J. Wal requested to merge 49-flashes-broken-by-frontend-caching into main

Arguably, not the correct way to do it. It still means that the server needs to re-render every single time.

However, I feel like other solutions would be brittle -

  • We'd need to keep track of session state in the etag
  • We'd need to keep track of flash state in the etag
  • We'd need to keep track of the version in the etag

Since the primary objective of the etag its for the user to have a better experience, and not to make the server more efficient, I think this is a reasonable compromise.

Closes #50 (closed) Closes #49 (closed)

Merge request reports

Loading