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

    Prevent Squid from Caching?

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 3.2k 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.
    • T
      trentdk
      last edited by

      I'm using Squid for some things, but I don't want to use it for caching. What is the proper way to disable caching? For example, do I set "Hard Disk Cache Size" to 0?

      I'm using pfSense 1.2.3

      pfSense 2.0 BETA at home, pfSense 1.2.3 at work

      1 Reply Last reply Reply Quote 0
      • T
        Tikimotel
        last edited by

        You could set the "Cache Mgmt:->Hard disk cache system" to use "null" option.
        Then squid will only use ram for a small amount of temp storage.

        Then you could use no hdd space and still get content filtering to work, I think. (never tried it, with content filtering also installed)

        1 Reply Last reply Reply Quote 0
        • T
          trentdk
          last edited by

          Just curious, is what I'm trying to do not normal? As in "why the hell wouldn't you use caching"?

          pfSense 2.0 BETA at home, pfSense 1.2.3 at work

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            If you use squidguard or some of squid's access control/limiting features, then it's definitely normal.

            It is very common to run squid with no caching (use the null cache option mentioned by Tikimotel) especially on ALIX if you just want to use squidguard for controlling web access.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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