• 
      

    Include the file and interdiff information in diff fragment ETags.

    Review Request #7273 — Created May 1, 2015 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    9009be7...

    Reviewers

    The diff fragments were only considering diff revision numbers (by way
    of the URL) for the ETag, and not the IDs of the objects in the
    database. This resulted in stale caches if trying to upload another
    draft of a diff with the same revision.
    
    We now include both the filediff ID and the interdiffset ID (if any).

    Manually tested, and saw that subsequent uploads of a diff were rendering without
    having to clear cache.

    Unit tests pass.