Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gzip wasm in npmmirror unpkg cdn #569

Closed
rwv opened this issue Aug 9, 2023 · 3 comments
Closed

Gzip wasm in npmmirror unpkg cdn #569

rwv opened this issue Aug 9, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@rwv
Copy link

rwv commented Aug 9, 2023

Could you please provide gzip compression to wasm?

$ curl -I https://registry.npmmirror.com/@ruffle-rs/ruffle/0.1.0-nightly.2023.8.7/files/0b3fec2cb197703a3174.wasm
HTTP/2 200 
server: Tengine
content-type: application/wasm
strict-transport-security: max-age=5184000
date: Wed, 09 Aug 2023 02:42:00 GMT
vary: Origin, Accept, Accept-Encoding
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

我们已经看到你的反馈,如果是功能缺陷,可以提供一下重现该问题的方式;如果是新功能需求,我们会尽快加入讨论。同时我们非常期待你可以加入我们的贡献者行列,让项目可以长期可持续发展。

@fengmk2
Copy link
Member

fengmk2 commented Aug 9, 2023

Sure

@fengmk2 fengmk2 self-assigned this Aug 9, 2023
@fengmk2 fengmk2 added the enhancement New feature or request label Aug 9, 2023
@fengmk2
Copy link
Member

fengmk2 commented Aug 9, 2023

done

curl -I https://registry.npmmirror.com/@ruffle-rs/ruffle/0.1.0-nightly.2023.8.7/files/0b3fec2cb197703a3174.wasm --compressed      
HTTP/2 200 
server: Tengine
content-type: application/wasm
strict-transport-security: max-age=5184000
date: Wed, 09 Aug 2023 04:20:18 GMT
vary: Origin, Accept, Accept-Encoding
request-id: 0c231e20-366c-11ee-ba37-5f82d581d1bd
cache-control: public, max-age=31536000
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-download-options: noopen
x-readtime: 43.545
via: cn5114.l1, kunlun9.cn5114, l2cn3058.l2, cache40.l2cn3058, npmmirror-x86-001, cache40.l2cn3058[56,56,200-0,M], cache26.l2cn3058[58,0], kunlun9.cn5114[112,112,200-0,M], kunlun4.cn5114[256,0]
content-encoding: gzip
ali-swift-global-savetime: 1691554818
age: 0
x-cache: MISS TCP_MISS dirn:-2:-2
x-swift-savetime: Wed, 09 Aug 2023 04:20:18 GMT
x-swift-cachetime: 31536000
timing-allow-origin: *
eagleid: dcb57d0b16915548182822012e

@fengmk2 fengmk2 closed this as completed Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants