[tahoe-lafs-trac-stream] [tahoe-lafs] #443: set ETag on immutable directories, short-circuit on cache hit
tahoe-lafs
trac at tahoe-lafs.org
Sat Mar 31 20:53:23 UTC 2012
#443: set ETag on immutable directories, short-circuit on cache hit
-------------------------+-------------------------------------------------
Reporter: warner | Owner: jsgf
Type: | Status: new
enhancement | Milestone: soon
Priority: major | Version: 1.0.0
Component: code- | Keywords: etag performance test-needed news-
frontend-web | needed
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by amiller):
I added unit tests and a minor tweak.
In jsgf's original patches, the short-circuit behavior was added to the
FileDownloader class and would therefore only apply to the "t=None" case.
So the problem in comment:15 does not occur.
However, we might as well short-circuit when an etag matches for "t=json"
etc., in which case the tags do need to be distinguished.
https://github.com/amiller/tahoe-lafs/pull/2.patch
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/443#comment:22>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list