New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Losslessly minify png, jpg and gif images used in Piwik #11177
Comments
Thanks for the suggestion. The other icons are quite old and should be replaced with high resolution icons (or maybe SVGs) which will be optimised. (#11155) |
(I think our icons used in the UI as part of the app, excluding those OS/browsers/plugins icon, ie. the ones shown your screenshot list, ideally would be put into our font icon, so there is not even a separate http request for each icon and only need to load the font once) |
Another idea would be inline SVG, as most of them are quite simple. (Like Github) |
I am not sure which ones are new but only 4 png files were not optimized. There were some size savings on all others, see screenshot sorted from least savings to max. Tool I have used: https://imageoptim.com/mac (it automatically uses different optimisation method on each image, even combination of more techniques to achieve minimal file size possible) |
Didn't you just raise your hand? 😬 |
Unfortunately I am quite useless for design work. |
How about simply minifying those images in this case (it is very quick and safe) so it is going somewhere and for the other ideas and more work creating separate tickets? ;) |
You're right, until we have better icons it doesn't hurt to minify the current ones. I'll look into it. |
As @Findus23 mentioned it wouldn't make a big difference. So maybe let's open a pull request if we happen to do it, otherwise I'm closing this for now. Thanks for the suggestion
that's interesting! maybe worth doing 😎 |
In order to make piwik loading a bit faster, there is a very quick and safe way how to save some network bandwidth during website loading. There is more than 1000 images in Piwik, most of which have potential to be losselessly minified.
I run all of the images through ImageOptim and file size savings were 23.2% average on and image, saving 337kB (Piwik 3.0.1) total. Most extreme was 98.3% saving on one file.
How can I get all of those to Piwik project?
The text was updated successfully, but these errors were encountered: