I am completely unable to guess, why you even mention direct download. The question wants to limit the download link. That's all. If you can spare 1 bit of data on that link, it counts as more performant, because that's how performance is counted in this case, per problem definition. Yes, it is so simple. For each such spared downlink bit cost can be counted in terms of extra uplink transfer and computation on the client and/or the server. So simple. And the "hash" you took the wrong direction. The point of any such "hashing" would be to decrease the exchange rate between spared bytes on the downlink and the cost on the uplink. I have an answer to this mystery already and will post it in a moment in bliako's subthread (the one with script code).

In reply to Re^4: Reverse download protocols by tomasz
in thread Reverse download protocols [solved] by tomasz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.