diff options
author | Bryan Newbold <bnewbold@archive.org> | 2023-01-04 21:24:49 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2023-01-04 21:28:26 -0800 |
commit | 38ba3d6a9c5138afbd82a1a5025f43e08bbba6a2 (patch) | |
tree | 189cfc0845a2dd8c44b546ddaaf9c4e92a5a570e /notes/2021_webpage_size.txt | |
parent | 011f309d5a0056f633b88de2b33e5714548eba56 (diff) | |
download | fatcat-scholar-38ba3d6a9c5138afbd82a1a5025f43e08bbba6a2.tar.gz fatcat-scholar-38ba3d6a9c5138afbd82a1a5025f43e08bbba6a2.zip |
commit old notes
Diffstat (limited to 'notes/2021_webpage_size.txt')
-rw-r--r-- | notes/2021_webpage_size.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/notes/2021_webpage_size.txt b/notes/2021_webpage_size.txt new file mode 100644 index 0000000..e4bcade --- /dev/null +++ b/notes/2021_webpage_size.txt @@ -0,0 +1,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 |