- From: Dan Brotsky <dbrotsky@adobe.com>
- Date: Tue, 20 Dec 2005 22:22:17 -0800
- To: "Geoffrey M Clemm" <geoffrey.clemm@us.ibm.com>, " webdav" <w3c-dist-auth@w3.org>
- Message-ID: <E1F796B37FB8544FA09F6258E7CED3BB4B9352@namail3.corp.adobe.com>
> The last part is important for a WebDAV client, since it wants to use > ETAG for optimistic locking. It is not really interested in ETAG for > caching purposes. Actually, I think a WebDAV client cares about both optimistic locking and caching. I strongly disagree. I think the first author's statement is correct. Also note that they are rather intimately linked, since optimistic locking is based on knowing that the client's edits are based on the text that is currently on the server, while caching is based on knowing that what the client currently has is based on the text that is currently on the server. No. Optimistic locking is based on knowing that the client's edits are being applied to the content the client last sent to the server, and are not overwriting other client's edits. Caching is based on knowing that the content you *last received* is the same as what you *would receive* on your next get. HTTP clients, whether webdav or not, know they must have *received* the content associated with an etag in order to avoid fetching it again. That's caching. WebDAV clients only need to know that they *sent* the content associated with an etag in order to avoid overwriting someone else's edits. That's optimistic locking. dan
Received on Wednesday, 21 December 2005 06:22:44 UTC