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

Multiple cache_dirs in squid.conf

Scheduled Pinned Locked Moved pfSense Packages
3 Posts 2 Posters 1.5k 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.
  • B
    brineberry
    last edited by Oct 24, 2013, 1:01 PM

    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
    • M
      marcelloc
      last edited by Oct 25, 2013, 2:11 AM

      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 Oct 25, 2013, 3:36 PM

        Marvelous. Thanks!

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received