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

    Multiple cache_dirs in squid.conf

    pfSense Packages
    2
    3
    1.4k
    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
      brineberry
      last edited by

      The squid documentation, as well as many users on the web, recommend using more than one drive to improve proxy performance. It is almost universally recommended to use a separarte 'cache_dir' directive for each drive or partition.

      How could this be applied in pfSense? The squid ("Proxy server") configuration page doesn't allow for multiple locations in the "Hard disk cache location" setting under the "Cache Mgmt" tab.

      Would it break things to manually edit the 'squid.conf' file to add the extra 'cache_dir' lines? It would be really valuable to be able to do this, even if it must be done manually, as it is one of the main ways to improve squid's performance.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        You can add it on squid.inc file or including it on custom options field.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • B
          brineberry
          last edited by

          Marvelous. Thanks!

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