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

    Enable gzip compression of webGUI

    Scheduled Pinned Locked Moved webGUI
    4 Posts 3 Posters 2.7k Views
    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

      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

        It will also add extra CPU load.

        1 Reply Last reply Reply Quote 0
        • E
          Edward_k
          last edited by

          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

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.