FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add pfSense NVMe cache overlay documentation #45 by JonathanDLee24 · Pull Request #46 · squid-cache/squid-cache.github.io · GitHub

Add pfSense NVMe cache overlay documentation #45 - #46

Open
JonathanDLee24 wants to merge 5 commits into
squid-cache:mainfrom
JonathanDLee24:main
Open

Add pfSense NVMe cache overlay documentation #45 #46
JonathanDLee24 wants to merge 5 commits into
squid-cache:mainfrom
JonathanDLee24:main

Conversation

JonathanDLee24 commented Jan 13, 2026
edited by rousskov
Loading

Copy link
Copy Markdown

This document provides a script for creating a filesystem overlay using nullfs to mount an alternate NVMe-backed directory as the Squid cache location on pfSense systems. It includes usage instructions and a cron job setup.

Add instructions for using nullfs with Squid on pfSense. Squid different cache location and management.
This update provides a detailed description of using a nullfs overlay for Squid cache relocation on pfSense systems, including a script for automation and notes on limitations regarding cache clearing.
Document Squid cache relocation using nullfs
This document provides a comprehensive guide on configuring Squid for multi-worker operation on pfSense, detailing both recommended and advanced methods for disk caching.
Updated section headers and improved clarity of instructions regarding the cron file and testing.

Copy link
Copy Markdown
Author

I closed #45 and this has all the updated items

rousskov changed the title Updated Config example for file overlay and for different workers and cache locations Add pfSense NVMe cache overlay documentation #45 Jan 13, 2026

Copy link
Copy Markdown
Contributor

I closed #45 and this has all the updated items

Thank you. I updated this PR title/description (that should become the future official commit message when this PR is merged) accordingly. Please adjust further as needed.


## Option 2 (Advanced): Per-Worker Disk Cache Using Macros

### ⚠️ Advanced / Experimental

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Conditional per-worker cache_dir directives are not supported by the Squid Project. The exact effects of using such directives depend on Squid version. They may include stale cache entries and crashes. Squid does not refuse to start with such configurations (for now), but YMMV.

It would be nice if this example warned readers that they are looking at a dangerous and unsupported hack (rather than some new/experimental feature that should already work OK in many cases and will get better with time).

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL