Closed dilyanpalauzov closed 2 years ago
Thanks.
@dilyanpalauzov Could you tell me why we would not use the officially distributed files from jQueryUI and instead optimize these?
@marcovtwout just these are a bit smaller :) I did that in the past but it was lost during one of the updates.
@samdark Thanks for clearning that up. One might otherwise wonder why vendor files are modified / will give a binary signature mismatch. To save just a few hundred bytes I would personally use the originals, but if this was common practice before in yii1 I guess it makes sense.
I optimized the PNG files in Limesurvey. Then I was told that once upstream synchronization happens, the changes will be reverted. In turn I optimized the PNG files used upstream projects, like here or https://github.com/jquery/jquery-ui/pull/2132.
by calling
for i in $(find -name '*.png'); do optipng -o7 -zm9 $i; done
.