Closed (fixed)
Project:
Data URI Sprites Generator
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2010 at 14:24 UTC
Updated:
31 Jul 2010 at 07:10 UTC
The resources tab of the developer tool that comes with Chrome/Safari shows that all background images within the CSS file get downloaded, regardless of whether or not they are shown.
So the CSS sprites file overwrites rule is used to display the image, but the image file is still downloaded in the background.
I guess it's just being smart - the images might get used as some point, eg with a javsascript event.
This isn't an issue with Firefox or Internet Explorer.
I ran a network sniffer to confirm this.
It's only a minor issue
Comments
Comment #1
alanburke commentedIf the method for generating the files changes as in #849508: Fails on aggregated CSS files - Plan of attack.,
this can be avoided.
Comment #2
dmitriy.trt commentedAccording to Resource Tracker in Chrome original images are not downloading, see #849508: Fails on aggregated CSS files - Plan of attack.
http://drupal.org/cvs?commit=394188