In order for local caching and conditional GET to work properly with the snapshot endpoints, I believe a TROLIE implementation needs to return the following response headers:
- MUST have the same Weak ETag header for all representations of the current version of the snapshot. CONSIDER using the period, e.g.,
ETag: W/"2025-09-17T01:00:00-0400"
- MUST use Caching directives:
Vary: Accept, Accept-Encoding for the media type and compression requested
Cache-Control: private, no-cache because the monitoring set is implicit in the request
If a snapshot request includes the ?monitoring-set=... query parameter, the response COULD have Cache-Control: public, no-cache. This would allow a reverse proxy to be setup as a caching intermediary for the client.
In order for local caching and conditional GET to work properly with the snapshot endpoints, I believe a TROLIE implementation needs to return the following response headers:
ETag: W/"2025-09-17T01:00:00-0400"Vary: Accept, Accept-Encodingfor the media type and compression requestedCache-Control: private, no-cachebecause the monitoring set is implicit in the requestIf a snapshot request includes the
?monitoring-set=...query parameter, the response COULD haveCache-Control: public, no-cache. This would allow a reverse proxy to be setup as a caching intermediary for the client.