mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-18 12:24:37 -05:00
split brotli and zopfli jobs
This commit is contained in:
parent
8a4a3ef0df
commit
1a6400af4e
@ -11,5 +11,10 @@ cp --remove-destination webapps/element/config.json static_tmp/config.json
|
||||
|
||||
cp nginx/nginx.conf nginx.conf.tmp
|
||||
|
||||
brotli_k() {
|
||||
brotli -k "$@"
|
||||
}
|
||||
export -f brotli_k
|
||||
|
||||
find static_tmp -regex '.+\.\(css\|html\|ico\|js\|json\|map\|svg\|txt\|webmanifest\|xml\|wasm\)' |
|
||||
parallel "brotli -k {}; zopfli {}"
|
||||
parallel -q ::: brotli_k zopfli :::: -
|
||||
|
Loading…
Reference in New Issue
Block a user