aboutsummaryrefslogtreecommitdiffstats
path: root/notes/2021_webpage_size.txt
blob: e4bcade58ada4f381d367aa35b662c63f60767a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

comparing HTML size across changes (eg, adding citations and modals)

query is "superglue" with defaults

older prod: 61KB
newer dev:  62KB (15 KB compressed)

modal dev (buttons, modal skeleton): 104 KB

dropdown dev (buttons, citations, drop-down fulltext, versions): 107 KB

2020-01-20
    bare (404 page): 15 kB
        head CSS: 5.3 kB
        translate svg: 1.7 kB
    serp ("superglue"): 107 kB
        citations: 10.4 kB
        access drop-down: 10.2 kB
        highlights: 7 kB
        all serp content: 83 kB
        all right column: 35 kB
    serp no hits: 25.2 kB

take-aways:
- move CSS to separate file
- citations not that bad, but some wins by linking instead of including (?)
- links are heavy
- don't sweat it too much, compresses well