AtomGraph / Web-Client

Generic Linked Data browser and UX component framework. Apache license.
https://hub.docker.com/r/atomgraph/web-client/
Apache License 2.0
121 stars 13 forks source link

Response EntityTag should depend on format #41

Closed namedgraph closed 10 years ago

namedgraph commented 10 years ago

Right now the EntityTag is generated as a hash of the RDF response Model, which means all serializations, including XHTML, get the same value. This leads to caching issues (wrong response body returned on 304 Not Modified. The solution is to add serialization info to the hash.

namedgraph commented 10 years ago

Actually each Variant should have a unique ETag