Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267359

The resource pack has been updated on the client despite the ETag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4
    • None
    • Minecraft JE 1.20.4
      Server 1.20.4 (jre19.0.2+7-44)
    • Community Consensus
    • Dedicated Server, Resource Packs

      When the resource pack is not updated on the server side, the client requests the new version even if the resource pack exists in the cache However, the server returns an ETag on the GET request that should be used to compare the resource pack version.

      It is suggested that the Minecraft client should store these ETags somewhere. For example, inside the downloads/{uuid} folder with the extension .etag, like this:

      downloads/{uuid}:
      40bd001563085fc35165329ea1ff5c5ecbdbbeef
      40bd001563085fc35165329ea1ff5c5ecbdbbeef.etag

      In the case where both the cached resource pack and the .etag file exist, the server resource pack should be requested with an If-None-Match header.

            Unassigned Unassigned
            MainDen MainDen
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: