Bug 89983

Summary: SVG stack downloaded on every use
Product: WebKit Reporter: Dirk Schulze <krit>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: pdr, sabouhallawa, schenney, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Same resource downloaded twice none

Description Dirk Schulze 2012-06-26 08:58:41 PDT
Created attachment 149539 [details]
Same resource downloaded twice

If I have a SVG stack (reference different parts of the same file), the SVG gets downloaded on every usage:

<object data="http://dahlström.net/tmp/sharp-icons/svg-icon-target.svg#plus"></object>
<object data="http://dahlström.net/tmp/sharp-icons/svg-icon-target.svg#chart"></object>

The both links above reference the same SVG file. Web inspector says that the file is downloaded twice. The idea of SVG stacks is to avoid that.