indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Enable ETags

Open ptrwtts opened this issue 3 years ago • 0 comments

ETags are a way to check if a response is the same as what the client already has in cache, and if so, not re-send the same data. It doesn't save us compute / db load, but it will make the response feel faster, especially for large resources like the attributes.

I found a plugin for this, but I'm not sure we need it. The docs suggest that you just need to pass a single field, which can be a checksum of the response object.

Ideally, it can be enabled universally at the server level, to keep the code for each route clean, but it's not critical.

ptrwtts avatar Jan 22 '22 23:01 ptrwtts