-
Notifications
You must be signed in to change notification settings - Fork 132
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
Make compressed site friendly for hosted static sites. #293
Comments
This is (to my knowledge) not feasible: |
What about pako? The benchmark indicates it’s only about 3 times slower than zlib itself. |
I am not sure what i tried before, and if i tired it with pako .. i can put this somewhere in the TODO, but testing this will be very low prio. And will probably not happen in the near future (unless someone else PRs it) |
I totally understand this. I’ve found an alt btw. Thanks for all the support. |
I feel this would be extremely nice to have. For example, S3 or B2 storage fronted with a CDN provider such as CloudFront, CDN77, or Bunny.net. But that also begs the other request, push direct to an external storage and don't maintain a local copy. |
Is your feature request related to a problem? Please describe.
One of the benefits of static sites is it can be served through static site hosting providers. However when it comes to gzip compressed sites the wiki redirects the
.json
to.json.gz
with aContent-Encoding:gzip
http header. However not every (little) hosting providers have this kind of functionality.Describe the solution you'd like
Instead of the full server side method, the client can have an idea about whether the site is compressed and fetch the gzips automatically.
The text was updated successfully, but these errors were encountered: