Comparing robots.txt with an XRD is like comparing &quot;apples with oranges&quot;. Can you do better than that? Cacheing robots.txt is not the same as cacheing an XRD. I will explain.<div>If my browser wants to cache all my XRD&#39;s. This is a real possibility. I may have XRD&#39;s at Google, Yahoo, Microsoft and &quot;my own&quot; host. The only way you can differentiate between all these XRD&#39;s is if the XRD;&#39;s have a &lt;Subject&gt;.<br>
<br><div class="gmail_quote">On Wed, Oct 21, 2009 at 9:28 PM, Breno de Medeiros <span dir="ltr">&lt;<a href="mailto:breno@google.com">breno@google.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Oct 21, 2009 at 8:47 AM, Santosh Rajan &lt;<a href="mailto:santrajan@gmail.com">santrajan@gmail.com</a>&gt; wrote:<br>
&gt; This is further to my post &quot;Open Challenge to webfinger, XRD&quot;. The post has<br>
&gt; grown in all directions. So I would like to put my arguments in a nutshell.<br>
&gt;<br>
&gt; The idea of an XRD without a Subject is unacceptable for the following<br>
&gt; reasons.<br>
&gt; 1) XRD without &lt;Subject&gt; is a security risk. If nothing, it makes life<br>
&gt; easier for the &quot;Man in the middle attacker&quot;.<br>
<br>
</div>Not necessarily all applications are security sensitive. Think about<br>
robots.txt. Does it have a Subject? No. Does it introduce security<br>
vulnerabilities? No. Is it metadata about something? Yes.<br>
<div class="im"><br>
&gt; 2) Cacheing of XRD&#39;s is thrown out of the window. You can&#39;t cache XRD&#39;s<br>
&gt; without a &lt;Subject&gt;. I firmly believe that Cacheing of XRD&#39;s will be a &quot;BIG<br>
&gt; THING&quot;. Applications &quot;IN THE KNOW OF XRD&#39;s&quot; will deifinitely like to cache<br>
&gt; XRD&#39;s. It will definitely speed up the discovery process.<br>
<br>
</div>No. Lack of a subject does not prevent anyone from caching robots.txt<br>
and will not prevent anyone from caching XRDs. Indeed, caching XRD<br>
works completely independent of the Subject. For instance, if  a<br>
client follows a sequence of cacheable redirects and gets an XRD<br>
document, it should be able to retrieve the XRD from cache next time<br>
it discovers the same resource (regardless of whether the resource is<br>
also the Subject of the XRD, an Alias listed in the XRD or if the XRD<br>
has no Subject).<br>
<div class="im"><br>
&gt; 3) I am seeing the real possibility that applications will be developed<br>
&gt; where users can &quot;save&quot; their XRD&#39;s locally. Further, users may be able to to<br>
&gt; upload their XRD&#39;s to sites that require it. All this will require a<br>
&gt; &lt;Subject&gt;.<br>
<br>
</div>No, it doesn&#39;t. See robots.txt<br>
<br>
<br>
<br>
--<br>
<font color="#888888">--Breno<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://hi.im/santosh">http://hi.im/santosh</a><br><br><br>
</div>