mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
add content-encoding for precompressed deps
This commit is contained in:
parent
9ae8bee252
commit
d7bd75911d
3 changed files with 63 additions and 13 deletions
|
@ -43,6 +43,12 @@ mkdir -p "${dirs[@]}"
|
|||
for dir in "${dirs[@]}"; do for fn in ふが "$(printf \\xed\\x93)" 'qwe,rty;asd fgh+jkl%zxc&vbn <qwe>"rty'"'"'uio&asd fgh'; do echo "$dir" > "$dir/$fn.html"; done; done
|
||||
|
||||
|
||||
##
|
||||
## test compression
|
||||
|
||||
wget -S --header='Accept-Encoding: gzip' -U 'MSIE 6.0; SV1' http://127.0.0.1:1234/.cpr/deps/ogv.js -O- | md5sum; p=~ed/dev/copyparty/copyparty/web/deps/ogv.js.gz; md5sum $p; gzip -d < $p | md5sum
|
||||
|
||||
|
||||
##
|
||||
## vscode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue