Opened 11 years ago
Closed 6 years ago
#7855 closed feature (fixed)
reduce file size of images in themes
Reported by: | chrisraven | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.0 |
Component: | ui.css-framework | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I tried to reduce file size of images from themes provided with jQuery UI, and it looks like it is possible to save some KBs. I tried http://www.punypng.com/ and http://www.smushit.com/ysmush.it/ online compressors (there are others), both gives some size reduction. According to the sites, this is lossless reduction and everything should works fine after it, even in IE6.
My results are:
base theme:
punypng - 2.9 KB reduction
ysmush.it - 952 B reduction
black-tie theme:
punypng - 3.7 KB reduction
ysmush.it - 1.26 KB reduction
I believe, that every theme can be downsized.
If there are no side efects (I didn't find any), then maybe it should be good to save those couple KBs.
Best regards
ChrisRaven
Change History (7)
comment:1 Changed 11 years ago by
Component: | [meta] ui.dev → CSS Framework |
---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Type: | enhancement → feature |
---|
comment:4 Changed 10 years ago by
Milestone: | 1.9.0 → 1.10.0 |
---|
comment:5 Changed 10 years ago by
Status: | new → open |
---|
New ThemeRoller is still using old ThemeRoller to generate images, so that pipeline didn't change at all. Its still unclear if or when we can get rid of that by switching to the image-free CSS framework that jQuery Mobile uses.
Does ThemeRoller actually use the images from the base theme? If not, we could just optimize those and leave the ThemeRoller output as-is.
Will ask Rafael to take a look when he's back.
comment:6 Changed 10 years ago by
Milestone: | 1.10.0 → none |
---|
comment:7 Changed 6 years ago by
Milestone: | none → 1.12.0 |
---|---|
Resolution: | → fixed |
Status: | open → closed |
This was done in b7d0c701c79c751f80e2f4058f7a4c3a17262815.
Good idea but we need to have our bases covered