Skip to content

Compress fonts and icons

See https://www.webpagetest.org/result/210626_AiDcVD_fb1cf1fe78c871745d10b51fdaaf1557/1/performance_optimization/. The size of the icon and the font can be drastically reduced:

Use gzip compression for transferring compressable responses: 70/100Learn More

78.4 KB total in compressible text, target size = 54.3 KB - potential savings = 24.1 KB

WARNING - (31.9 KB, compressed = 18.3 KB - savings of 13.6 KB) - https://f-droid.org/assets/roboto_ln5c7Pv79kCZw8EjInNILddDbwVxQmaVPE0sjunCivU=.ttf FAILED - (14.7 KB, compressed = 4.2 KB - savings of 10.5 KB) - https://f-droid.org/assets/favicon_yJPr4UNteJc-cseeq16P0Hvl1kDbJjTVYcj-KA6-_Fs=.ico

Why so wired mime types?

Because the server is configured so.

HTTP/1.1
Date: *
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Last-Modified: *
ETag: "7f8c-5c592ca733c00"
Accept-Ranges: bytes
Content-Length: 32652
Cache-Control: max-age=31536000, public, immutable, stale-while-revalidate=300
Content-Type: application/font-sfnt
Via: 1.1 f-droid.org (Apache/2.4.25)
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
HTTP/1.1200
Date: *
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Last-Modified: *
ETag: "3aee-5c592ca733c00"
Accept-Ranges: bytes
Content-Length: 15086
Cache-Control: max-age=43200, public, immutable, stale-while-revalidate=300
Content-Type: image/vnd.microsoft.icon
Via: 1.1 f-droid.org (Apache/2.4.38)
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive

Merge request reports