Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Haproxy-devel] GZIP-Compression?

    pfSense Packages
    3
    3
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      badger
      last edited by

      Hi there,

      just wondering wether you can use gzip-compression bound to the frontend (the communication between End User –> HAproxy (which redistributes to 3 webservers). I tried to pass through

      "compression algo gzip
      compression type text/html text/plain text/javascript application/javascript application/xml text/css application/json" (frontend advanced pass thru)

      but i could not establish a single compressed connection.

      Does HAProxy-Devel support gzip at all? Or does ist have to be compiled against gzip or something? If so - how can I accomplish it?

      Thank you very much =)

      1 Reply Last reply Reply Quote 0
      • P
        PiBa
        last edited by

        haproxy-devel is compiled with zlib 1.2.3
        you can check by running "haproxy -vv" on a ssh/console shell.

        adding this to a stats page shows that its compressed when requesting it from firefox..

        compression algo gzip
        compression type text/html text/plain
        

        you are using frontend type 'http' ?

        1 Reply Last reply Reply Quote 0
        • C
          codym
          last edited by

          Hello,
          Is there an updated step by step way to do this?

          It is unclear if things have been changed since this original post was made but there isn't an apparent way to do this.

          Thanks in advance!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.