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

Enable gzip compression of webGUI

webGUI
3
4
2.7k
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.
  • E
    Edward_k
    last edited by Jul 2, 2007, 7:19 PM

    Currently using 1.2-BETA-1-TESTING-SNAPSHOT-05-23-2007.

    Pages served from the webConfigurator are uncompressed. Making an option to have the pages served by webConfigurator will reduce the b/w used when accessing over a WAN link.

    Gzip compression can be enabled on a page by page basis by enabling the zlib extension and placing ob_start("ob_gzhandler"); on pages that are likely to gain most from compression, system logs, rules list, state list etc.

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Jul 2, 2007, 8:15 PM

      It will also add extra CPU load.

      1 Reply Last reply Reply Quote 0
      • E
        Edward_k
        last edited by Jul 2, 2007, 9:31 PM

        Gzip isn't a particularly great load, it's not like the pages are being hit all the time.

        You can add make it optional as I said. I would have made the changes to mine already, but I lack the compiled zlib modules for PHP in this particular release.

        1 Reply Last reply Reply Quote 0
        • D
          DanielSHaischt
          last edited by Jul 3, 2007, 2:30 PM

          Whether to use gzipped HTML pages is always a question whether to focuse on server load or on bandwidth.

          I think providing a knob that allows to enable/disable compression is a valid option.

          Cheers
          Daniel S. Haischt

          PS: gzip compression is enabled in pfSense HEAD.

          Mit freundlichen Gruessen / With kind regards
          DAn.I.El S. Haischt

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