Closed Bug 1504176 Opened 6 years ago Closed 6 years ago

Image URLs with different # fragment identifier are treated as different resources

Categories

(Core :: Networking, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1121693
Tracking Status
firefox63 --- affected
firefox64 --- affected
firefox65 --- affected

People

(Reporter: kontakt, Unassigned)

Details

Attachments

(1 file)

Attached file multiple-requests.zip
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

I've created an SVG sprite containing multiple images, so they can be loaded with a single request.

I've created an HTML document with img tags that link to the same file, but with different fragment identifier (#)


Actual results:

The images are displayed correctly, but when I serve both the sprite file and the html file over HTTP, the network manager and server logs show that Firefox send a new request for each URL, even though they link to the same file, just different fragments.


Expected results:

Firefox should only send one request, to save bandwidth.
Reproducible on:
 
65.0a1 20181105100136
64.0b6 20181101155334
63.0.1 20181030165643
Status: UNCONFIRMED → NEW
Component: Untriaged → Networking
Ever confirmed: true
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Version: 64 Branch → Trunk
Resolving this as a duplicate, as the solution to the problem is being discussed in bug 1121693.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: