Closed Bug 1377705 Opened 7 years ago Closed 7 years ago

Reduce app size by compressing included PNG files and removing unused ones

Categories

(Firefox :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox54 --- wontfix
firefox55 --- affected
firefox56 --- affected

People

(Reporter: abovens, Unassigned)

References

(Blocks 1 open bug)

Details

We should compress all PNG files used for the UI with the ImageOptim tool (https://imageoptim.com/mac) I unzipped both omni.ja files and got 816KB of savings, using ImageOptim's "Insane" optimization level. There are also a number of unused (afaict) theme files that take up a lot of space "1.header.png", "2.header.png", etc. If we remove those, we shave off around 1MB of the binary size.
(In reply to Andreas Bovens from comment #0) > We should compress all PNG files used for the UI with the ImageOptim tool > (https://imageoptim.com/mac) > > I unzipped both omni.ja files and got 816KB of savings, using ImageOptim's > "Insane" optimization level. Is that actually lossless? > There are also a number of unused (afaict) theme files that take up a lot of > space "1.header.png", "2.header.png", etc. If we remove those, we shave off > around 1MB of the binary size. Those files are not unused, they're part of the default set of lwthemes that we ship. Even the files for themes we already unshipped unfortunately cannot be outright removed - see bug 1370919 for more details. X-ref bug 1316187 for an easy list of other files that we might be able to remove (and individual bugs for some of those).
Blocks: 1303172
See Also: → 1316187
Component: Theme → General
See Also: → 1234008
Marking this as invalid since both reported issues are duplicates (of bug 1316187 and bug 1234008), hence this bug isn't really actionable. Feel free to follow up on the respective bugs if you feel like there's something we can improve on it. Please file one issue per bug in the future, that makes fixing and/or duping much easier :) Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.