Skip to content

Support Content-Encoding header (compression) #74

Closed

Description

@ethanaobrien

Less data is transferred (send dependency will need to be removed first)

for gzip I have found this works

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding

Activity

  1. terreng commented on Mar 22, 2022

    @terreng
    Owner

    This sounds great! Just make sure to check the Accept-Encoding request header to only use encoding with supported browsers.

  2. terreng commented on Apr 1, 2022

    @terreng
    Owner

    I've added the HTTP compression option to the UI and the documentation (and renamed the option to compression). I made a slight change to handlers.js.

    Unfortunately, now that I am trying it out, I'm finding that it's unbearably slow. Even on my machine. Is there any way to speed this up? Otherwise I don't think we should ship this feature. Maybe once we are using Tauri and running a more native web server it'll perform better.

  3. reopened this on Apr 1, 2022
  4. ethanaobrien commented on Apr 1, 2022

    @ethanaobrien
    CollaboratorAuthor

    Yeah it is really really slow, theres nothing we can do to speed it up. It's your choice whether we include this feature.

  5. terreng commented on Apr 1, 2022

    @terreng
    Owner

    I've removed the option from the UI and documentation, but it's still accessible by manually editing config.json. We can revisit this option later, but I'm closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions