On 6/30/07, <b class="gmail_sendername">Robert O'Callahan</b> <<a href="mailto:robert@ocallahan.org">robert@ocallahan.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q"></span>If it is, then I would suggest simply allowing consistency to be partitioned by directory as well. I'm not sure of the best way for the server to configure that, though.</blockquote><div><br>One option would be to use an HTTP header to allow each resource to say what consistency group it belongs to. Say "X-Consistency-Group:
<a href="http://www.google.com/calendar">http://www.google.com/calendar</a>". When the header is omitted the default is just the scheme + domain.<br><br>This would have the nice property that if a browser doesn't implement support for the header, everything still works, revalidation is just slower.
<br><br>For resources like attachments where you don't want consistency, you could just set X-Consistency-Group to the resource's own URI.<br></div><br></div>Rob<br>-- <br>"Two men owed money to a certain moneylender. One owed him five hundred denarii, and the other fifty. Neither of them had the money to pay him back, so he canceled the debts of both. Now which of them will love him more?" Simon replied, "I suppose the one who had the bigger debt canceled." "You have judged correctly," Jesus said. [Luke 7:41-43]