diff options
| author | Bradley Taunt <bt@btxx.org> | 2024-11-26 19:40:32 -0500 |
|---|---|---|
| committer | Bradley Taunt <bt@btxx.org> | 2024-11-26 19:40:32 -0500 |
| commit | d3af59a9fa473a2a7f3ee26b6adc760ff3e6ba4f (patch) | |
| tree | 92e25ef98db49bd5493cbf090d8221c31ed2bb4b | |
| parent | 68a4efd49e7d1c842b871bd201db0461be27f7d0 (diff) | |
Add custom compression script for serving gzip via httpd
| -rw-r--r-- | compress.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compress.sh b/compress.sh new file mode 100644 index 0000000..652b992 --- /dev/null +++ b/compress.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +find build -type f \( -name '*.html' -o -name '*.css' \) -exec gzip -kf {} + + |
