[GH-ISSUE #352] Reduce space used with statics #126

Closed
opened 2026-02-26 04:34:07 +03:00 by kerem · 1 comment
Owner

Originally created by @mageddo on GitHub (Mar 12, 2023).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/352

Actually most space used by statics is consumed by a font ...

du -d1 -h static/font-awesome/ | sort -h && ls -lhS ./static/font-awesome/webfonts/
60K     static/font-awesome/css
2.7M    static/font-awesome/
2.7M    static/font-awesome/webfonts
total 2.7M
-rw-rw-r-- 1 typer typer 798K mar 12 01:31 fa-solid-900.svg
-rw-rw-r-- 1 typer typer 679K mar 12 01:31 fa-brands-400.svg
-rw-rw-r-- 1 typer typer 183K mar 12 01:31 fa-solid-900.eot
-rw-rw-r-- 1 typer typer 183K mar 12 01:31 fa-solid-900.ttf
-rw-rw-r-- 1 typer typer 142K mar 12 01:31 fa-regular-400.svg
-rw-rw-r-- 1 typer typer 127K mar 12 01:31 fa-brands-400.eot
-rw-rw-r-- 1 typer typer 127K mar 12 01:31 fa-brands-400.ttf
-rw-rw-r-- 1 typer typer  94K mar 12 01:31 fa-solid-900.woff
-rw-rw-r-- 1 typer typer  86K mar 12 01:31 fa-brands-400.woff
-rw-rw-r-- 1 typer typer  74K mar 12 01:31 fa-brands-400.woff2
-rw-rw-r-- 1 typer typer  73K mar 12 01:31 fa-solid-900.woff2
-rw-rw-r-- 1 typer typer  34K mar 12 01:31 fa-regular-400.eot
-rw-rw-r-- 1 typer typer  34K mar 12 01:31 fa-regular-400.ttf
-rw-rw-r-- 1 typer typer  17K mar 12 01:31 fa-regular-400.woff
-rw-rw-r-- 1 typer typer  14K mar 12 01:31 fa-regular-400.woff2

Originally created by @mageddo on GitHub (Mar 12, 2023). Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/352 Actually most space used by statics is consumed by a font ... ``` du -d1 -h static/font-awesome/ | sort -h && ls -lhS ./static/font-awesome/webfonts/ 60K static/font-awesome/css 2.7M static/font-awesome/ 2.7M static/font-awesome/webfonts total 2.7M -rw-rw-r-- 1 typer typer 798K mar 12 01:31 fa-solid-900.svg -rw-rw-r-- 1 typer typer 679K mar 12 01:31 fa-brands-400.svg -rw-rw-r-- 1 typer typer 183K mar 12 01:31 fa-solid-900.eot -rw-rw-r-- 1 typer typer 183K mar 12 01:31 fa-solid-900.ttf -rw-rw-r-- 1 typer typer 142K mar 12 01:31 fa-regular-400.svg -rw-rw-r-- 1 typer typer 127K mar 12 01:31 fa-brands-400.eot -rw-rw-r-- 1 typer typer 127K mar 12 01:31 fa-brands-400.ttf -rw-rw-r-- 1 typer typer 94K mar 12 01:31 fa-solid-900.woff -rw-rw-r-- 1 typer typer 86K mar 12 01:31 fa-brands-400.woff -rw-rw-r-- 1 typer typer 74K mar 12 01:31 fa-brands-400.woff2 -rw-rw-r-- 1 typer typer 73K mar 12 01:31 fa-solid-900.woff2 -rw-rw-r-- 1 typer typer 34K mar 12 01:31 fa-regular-400.eot -rw-rw-r-- 1 typer typer 34K mar 12 01:31 fa-regular-400.ttf -rw-rw-r-- 1 typer typer 17K mar 12 01:31 fa-regular-400.woff -rw-rw-r-- 1 typer typer 14K mar 12 01:31 fa-regular-400.woff2 ```
kerem 2026-02-26 04:34:07 +03:00
Author
Owner

@mageddo commented on GitHub (Mar 17, 2023):

the 3mb on fonts are used by font-awesome, it's used on the buttons on the gui, I will keep them for now

<!-- gh-comment-id:1473070962 --> @mageddo commented on GitHub (Mar 17, 2023): the 3mb on fonts are used by font-awesome, it's used on the buttons on the gui, I will keep them for now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dns-proxy-server-mageddo#126
No description provided.