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

    Squid Cache Hit Rate.

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 4.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.
    • C
      cylent
      last edited by

      I am trying my best to figure out a way to increase the squid cache hit rate.

      in the last 3-4 days its been a pathetic 8-11% for around 80-90 users and an average of 5.8G download.

      Seriously. this is just bad.

      Any tips on how to increase the hit rate? (other than doing offline mode LOL)

      hit_rate.png
      hit_rate.png_thumb

      1 Reply Last reply Reply Quote 0
      • S
        saxonbeta
        last edited by

        Wow, my hit rate Is just 2-3 % for 10 users and ca. 6 GB of downloads  :(

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

          This can be espected as squid "engine" is not that good for dynamic/session pages.

          I saw it on one doc comparing squid and varnish.
          https://www.varnish-cache.org/trac/wiki/ArchitectNotes

          A test I did once was configuring a varnish daemon as proxy server sending to a squid as backend. The result was some times faster then squid itself.

          But I'm sure that there is some config options to improve cache hit.

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

          Help a community developer! ;D

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