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

    Squid configuration question

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 737 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.
    • A
      agentb
      last edited by

      I forget how good pfSense is, and how easy it is.

      Setting up Squid (+ MinM SSL) works with a few clicks - install a root cert from the CA, perfect.

      I was wondering if i can improve the cache efficiency, i have an application which downloads large binary - unique one-time only files, and these are 99% filling the cache.

      They always have a *.bin extension and i would normally add something like

      acl filecachetype urlpath_regex \.bin
      cache deny !filecachetype
      

      to squid.conf - but i don't see an obvious place in the pfSense GUI to achieve this.

      I could
      a) don't worry and live with a 1% hit rate
      b) edit squid.conf - each time an upgrade etc occurs.

      but neither is that elegant.

      edit: the application also downloads and gets good hits from the same site, so not caching the sites / IPs is not what i would need.

      I don't have control of the web-server generating these so setting something server side is possible, but not probable.

      Any suggestions?

      Thank you.

      Edit2: I have just noticed the Advanced options (after upgrading tio 2.3.1 - this may be exactly what i need - i'll report back later.

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