Active
Project:
CSS Embedded Images
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2010 at 09:53 UTC
Updated:
28 Sep 2010 at 19:42 UTC
I think this approach can become unhelpful in cases where there are a couple of bigger images. Say, 5 images of 20kb each would already add some 100 kb to the CSS and thus might slow down the initial CSS rendering.
My idead is, instead of only ignoring images above the 32kB threshold (or not), it would be useful if there was an option to set this limit to some manual value, so the user (or even better: the theme author) could decide for the most beneficial value.
Comments
Comment #1
jcarnett commented2.x solves this problem by aggregating the image data in a file separate from the rest of the CSS so your other styles will load first and be available for rendering while the image data is still loading.
I'm not opposed to adding options to set the maximum file size, but I don't think it's something I'm going to focus on immediately.