Closed JohnRDOrazio closed 3 months ago
implemented in commits:
While we're at it, we also implemented a header which will let us know how the data was generated, whether calculated from scratch, or pulled from the server cache file, or from client cache (when the client sends an If-None-Match
header with the hash of the request which corresponds with the hash of a server cache file):
Just out of curiosity, it would be interesting to see how long it takes to calculate and produce a fresh result compared to reading and outputting the cached version of a previous calculation. Perhaps we can add some timing information to the metadata to compare against the client timing...