Skip to content
  • Josef Šimánek's avatar
    71a8daec
    Opaque Etags for compact index requests · 71a8daec
    Josef Šimánek authored
    This changes the CompactIndexClient to store etags received from the
    compact index in separate files rather than relying on the MD5 checksum
    of the file as the etag.
    
    Smoothes the upgrade from md5 etags to opaque by generating them when no
    etag file exists. This should reduce the initial impact of changing the
    caching behavior by reducing cache misses when the MD5 etag is the same.
    
    Eventually, the MD5 behavior should be retired and the etag should be
    considered completely opaque with no assumption that MD5 would match.
    71a8daec
    Opaque Etags for compact index requests
    Josef Šimánek authored
    This changes the CompactIndexClient to store etags received from the
    compact index in separate files rather than relying on the MD5 checksum
    of the file as the etag.
    
    Smoothes the upgrade from md5 etags to opaque by generating them when no
    etag file exists. This should reduce the initial impact of changing the
    caching behavior by reducing cache misses when the MD5 etag is the same.
    
    Eventually, the MD5 behavior should be retired and the etag should be
    considered completely opaque with no assumption that MD5 would match.
Loading