TREEcg / event-stream-client

Deprecated! Use the rdf-connect/ldes-client instead
https://github.com/rdf-connect/ldes-client
Other
14 stars 9 forks source link

Add support for `If-Modified-Since` and `If-None-Match` HTTP headers #70

Open julianrojas87 opened 1 year ago

julianrojas87 commented 1 year ago

Have the bookeeper keep track of ETag values (where available) and fallback to use the If-Modified-Since request header to avoid refetching unmodified resources even when their caching has expired.

This is useful in cases where immutable resources are not marked as such.