Skip to main content

Search and Top Navigation

#9406 closed feature (wontfix)

Opened June 27, 2013 01:04PM UTC

Closed June 27, 2013 01:12PM UTC

Last modified June 27, 2013 01:17PM UTC

minified images

Reported by: sfornengo Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

I am coding a cache offline manifest for a website using jquery ui.

It is a mess because jquery ui css loads many images (see in themes/minified/images) and it is not easy to know which are useful and which are not by the website.

So, the idea would be to optimize all this image requests:






could be only one mask: /minified/images/ui-icons_256x240.png

and the color declinations could be generated in js using canvas (, saving request and bandwidth in few lines of js.

the following images could be generated in js on the fly instead of generating request:









in conclusion, minified image number could be reduced from 14 to 2 (thanks for cache manifest), saving request and bandwidth and speeding up website loading time in browsers supporting canvas.

Attachments (0)
Change History (2)

Changed June 27, 2013 01:12PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

We're not going to switch to canvas for images, especially since that would add a dependency for a canvas shim in old IE.

Changed June 27, 2013 01:17PM UTC by sfornengo comment:2

it is easy to fallback to old image system in case of browser not supporting canvas (less than 15% in the world)