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

    Need the best squid caching policy for a slow connection

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.0k 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
      TyMac
      last edited by

      I've recently been placed in a situation where my internet connection has gone from ~50Mb/s to ~5Mb/s and will stay this way for a while. I'm looking for the best policies and settings to cache content to mitigate most of the loss of bandwidth. My pfsense router is somewhat beefy - it has 8gigs of ram right now and I can go at least as high as 16gigs. Given that there is plenty of cache to work with but a slow connection what would you all recommend?

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

        To be honest, caching is only worthwhile when you have loads of clients. You're unlikely to see any benefit on a small network -at all-. And add to that lots are sites are moving to ssl reduces even further the potential benefit.
        Disabling scripts/ads/ images would probably give you a better browsing experience.

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

          What counts as a lot? I have 30 workstation and about 10 servers behind my pfsense. The https part does make me wonder if youtube videos can be cached since we use an https connection to youtube though…

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

            I had a similar network in size, and the cache hit ratio was around 15-20%. YMMV. That would likely increase if SSL interception was enabled but that bring it's own set of problems.
            Try it, it isn't too difficult to setup, especially if you use the pfsense package.

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