Open Bug 1574426 Opened 6 years ago Updated 3 years ago

SVG gets downloaded many times / doesn't get cached

Categories

(Core :: Graphics: ImageLib, enhancement)

68 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: tobi, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

With the Network tab open, load https://tobireif.com/non_site_stuff/for_bug_report_chrome_no_span2/example.html . (and sometimes a reload helps to then see all headers)

Actual results:

According to the network tab waterfall, the SVG file gets downloaded 16 times.

Expected results:

It should get downloaded just once.

Related info: (eg after a reload) the Network tab states that the request headers include "Cache-Control: no-cache" which seems strange to me.
And: the response headers include "cache-control: max-age=60, public", thus it would be OK to cache it for up to 60 seconds, which would be sufficient for all 16 <object/>s in the HTML.

Duplication of Bug 1027106 ?

Component: Untriaged → ImageLib
Product: Firefox → Core

(In reply to Alice0775 White from comment #1)

Duplication of Bug 1027106 ?

I don't think so, there are no ref's used on the example page.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.