csvapi icon indicating copy to clipboard operation
csvapi copied to clipboard

WIP: New hashing schema

Open quaxsze opened this issue 5 years ago • 1 comments

quaxsze avatar Jan 27 '20 15:01 quaxsze

@abulte I would need a review here. I left several comments in the code after implementing the double cache feature. The question comes from the upload view. The uploaded file will not have a URL hash. Therefore the way we look for it in tableview or exportview will not work.

A work around would be to change the endpoint: "{scheme}://{request.host}/api/{urlhash}" to "{scheme}://{request.host}/api/{filehash}"

This would work but would it make the URL hash useless and not relevant? Since we would not use it for anything else than to retrieve an DB entry for the first step of cache validation (and could be done by seeking with the filehash directly?)

quaxsze avatar Feb 04 '20 16:02 quaxsze