aboutsummaryrefslogtreecommitdiff
path: root/ext/fiddle
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-05-31 02:03:29 +0000
committerstephan <stephan@noemail.net>2022-05-31 02:03:29 +0000
commit5fd9f03291fa9f57eacbdef76b176d1837e772f8 (patch)
treea3f6c1bbe02042b45fcaf41e4553528f6936391c /ext/fiddle
parent404bf6bac6569664b23a35c22fbb18611b7c6b7c (diff)
downloadsqlite-5fd9f03291fa9f57eacbdef76b176d1837e772f8.tar.gz
sqlite-5fd9f03291fa9f57eacbdef76b176d1837e772f8.zip
Updated the wasm builds to generate gzip'ed copies of relevant files to take advantage of althttpd's new capability of substituting gzip files in place of requested files. This cuts over-the-wire size of the fiddle app by more than half.
FossilOrigin-Name: 40925585f1dab25babac46a0f4b9d633315110b8d4ccb04cc6df115d167e5ab4
Diffstat (limited to 'ext/fiddle')
-rw-r--r--ext/fiddle/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fiddle/Makefile b/ext/fiddle/Makefile
index 6f3279b61..093f9260f 100644
--- a/ext/fiddle/Makefile
+++ b/ext/fiddle/Makefile
@@ -8,7 +8,8 @@ clean:
fiddle_files = emscripten.css fiddle.html \
fiddle.js fiddle-module.js \
- fiddle-module.wasm fiddle-worker.js
+ fiddle-module.wasm fiddle-worker.js \
+ $(wildcard *.wasm.gz) $(wildcard *.js.gz)
# fiddle_remote is the remote destination for the fiddle app. It
# must be a [user@]HOST:/path for rsync.