Source code of my website
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

🔨 : enable gzip compression

+3 -2
+3 -2
mise.toml
··· 32 32 [tasks.precompress] 33 33 description = "Precompress static resources" 34 34 run = ''' 35 - COMPRESSREGEX=".*(html|css|js|xml|ico|svg|md|png|webp|pdf|woff2)$" 36 - find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs zstd -15 -f 35 + COMPRESSREGEX=".*(html|css|js|xml|ico|svg|md|pdf|woff2)$" 36 + find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs zstd --keep --force -19 37 + find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs gzip --keep --force --best 37 38 ''' 38 39 39 40 [tasks.serve]