From 6d992bf825699d836859a031eff96fdb020b6a2a Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sat, 5 Mar 2022 13:17:17 -0500 Subject: TODO.md: add JS ideas --- TODO.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index a405d2c..2490778 100644 --- a/TODO.md +++ b/TODO.md @@ -131,11 +131,10 @@ this stuff may not make any sense. - https://github.com/CycloneDX/cyclonedx-go * investigate sendBeacon() https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon -* installed/tried tinygo for building wasm - - 3M to 300k for hello world, ~120k w/ gzip - - https://tinygo.org/getting-started/install/linux/ - - https://blog.suborbital.dev/foundations-wasm-in-golang-is-fantastic - - see notes in ~/git/test/go/wasm/ +* YUGE site JS savings + - 27 bytes, ~8.8% unminified size reduction + - notes in header of `themes/hugo-pt2021/assets/script.js` +* HTML escaping benchmarks (`git/test/js/es6`) ## done * add project folders @@ -175,3 +174,8 @@ this stuff may not make any sense. - "add sha256 hash for `