This scaled the 10 corporation logos in the sidebar down to 48x48 and compressed them. At build time, they are base64 encoded and stored in the CSS file. The obvious downside in this approach is the increase in the size of the main CSS file (an extra 7.47 KB to be exact).
However, for a mere seven and a half kilobytes, this reduced the number of requests (although they were lazy) by 10 and reduced the amount of data in total that is sent by about 52.65 KB (using compressed sizes of Twitter and Mailchimp logos which were not compressed before this PR).
Summary
This scaled the 10 corporation logos in the sidebar down to 48x48 and compressed them. At build time, they are base64 encoded and stored in the CSS file. The obvious downside in this approach is the increase in the size of the main CSS file (an extra
7.47 KB
to be exact).However, for a mere seven and a half kilobytes, this reduced the number of requests (although they were lazy) by 10 and reduced the amount of data in total that is sent by about
52.65 KB
(using compressed sizes of Twitter and Mailchimp logos which were not compressed before this PR).