<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>No, Dijjer peers don't cache entire files, rather they just cache 256k blocks of files, and these are stored in a single binary file.  Typically any given Dijjer peer would probably only be caching one block from any given file.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Can you elaborate on why you might want to do this?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ian.</DIV><BR><DIV><DIV>On 17 Feb 2006, at 00:09, Charles Iliya Krempeaux wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hello Ian,<BR><BR>Is there a way to get at dijjer's cached files besides going through it's local HTTP server?  (I.e., with direct file I/O.)<BR><BR><BR>See ya<BR><BR><DIV><SPAN class="gmail_quote">On 2/14/06, <B class="gmail_sendername"> Ian Clarke</B> &lt;<A href="mailto:ian@locut.us">ian@locut.us</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 14 Feb 2006, at 16:38, Charles Iliya Krempeaux wrote: <BR>&gt; I've been actually considering using a local HTTP server to implement<BR>&gt; things.  (Which is something you are doing too.)  Although I thought<BR>&gt; some extra "sugar" was warranted, to help with (user) usabiliy and <BR>&gt; developer usability.<BR><BR>We have added some sugar too.  For example, we have javascript<BR>available on our site that can detect whether Dijjer is present on<BR>the user's machine and redirect the user to a download page if it isn't. <BR><BR>&gt; I skimmed through the stuff on <A href="http://dijjer.org">dijjer.org</A>, and I have a questions.<BR>&gt; Does digger pay attention to HTTP headers?  And act basically as a web<BR>&gt; cache?<BR><BR>Yes, we have attempted to stick as closely to the HTTP protocol as <BR>possible.<BR><BR>&gt; For example, here's some (but not all) "rules" that I was planning on<BR>&gt; following.... If HTTP headers "say" that something should NOT be<BR>&gt; cached, then it should NOT be on the P2P network. <BR><BR>Yes, we obey the various HTTP no-cache headers.  We consider it<BR>important for Dijjer to act as much like a HTTP cache as possible so<BR>that we are afforded the protection the DMCA gives to caches for<BR>copyright infringement. <BR><BR>&gt;   Stuff on the P2P<BR>&gt; network should be removed after the date for the "Expires" header<BR>&gt; passes?<BR><BR>We don't obey "Expires" explicitly, but since Dijjer pings the<BR>original web server each-time something is downloaded to ensure that <BR>the file is still there and hasn't changed, if it is removed from the<BR>web server, it will effectively be removed from Dijjer at the same<BR>instant.<BR><BR>&gt; Things from non-HTTP GET methods should NOT be put onto the <BR>&gt; P2P network?  Etc.<BR><BR>We attempt to be smart about our interaction with HTTP, if there are<BR>shortcomings in this regard they will be easy to fix.<BR><BR>Ian.<BR>_______________________________________________ <BR>p2p-hackers mailing list<BR><A href="mailto:p2p-hackers@zgp.org">p2p-hackers@zgp.org</A><BR><A href="http://zgp.org/mailman/listinfo/p2p-hackers">http://zgp.org/mailman/listinfo/p2p-hackers</A><BR>_______________________________________________ <BR>Here is a web page listing P2P Conferences:<BR><A href="http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences">http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences</A><BR></BLOCKQUOTE></DIV> <BR><BR clear="all"><BR>-- <BR>    Charles Iliya Krempeaux, B.Sc.<BR><BR>    charles @ <A href="http://reptile.ca">reptile.ca</A><BR>    supercanadian @ <A href="http://gmail.com">gmail.com</A><BR><BR>    developer weblog: <A href="http://ChangeLog.ca/">http://ChangeLog.ca/</A><BR>___________________________________________________________________________<BR> Make Television                                <A href="http://maketelevision.com/"> http://maketelevision.com/</A><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">p2p-hackers mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:p2p-hackers@zgp.org">p2p-hackers@zgp.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://zgp.org/mailman/listinfo/p2p-hackers">http://zgp.org/mailman/listinfo/p2p-hackers</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Here is a web page listing P2P Conferences:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences">http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>