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

Disable GZIP compression for some browsers #62

Open
1 task
Robbert opened this issue Aug 12, 2016 · 0 comments
Open
1 task

Disable GZIP compression for some browsers #62

Robbert opened this issue Aug 12, 2016 · 0 comments

Comments

@Robbert
Copy link
Member

Robbert commented Aug 12, 2016

The DuneHD set-top box doesn't appear to be powerful enough to handle GZIP compression. We should check the user agent to disable GZIP for this browser.

It is not possible to prevent gzip and deflate using XMLHttpRequest, because Accept-Encoding is a forbidden header:
https://fetch.spec.whatwg.org/#forbidden-header-name

  • We should update the .htaccess to do this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant