Skip to content

Implement BAN (pattern-based invalidation)#10

Merged
roboshyim merged 1 commit into
masterfrom
feat/ban-list
Jan 31, 2026
Merged

Implement BAN (pattern-based invalidation)#10
roboshyim merged 1 commit into
masterfrom
feat/ban-list

Conversation

@roboshyim

Copy link
Copy Markdown
Owner

Implements a minimal Varnish-like BAN:

  • BAN stores a substring pattern (defaults to request path)
  • Cache lookup skips cached objects when the normalized URL contains any stored ban pattern
  • Ban patterns are persisted in sled (ban:) and loaded on startup

Closes #3.

@roboshyim roboshyim merged commit b5ed086 into master Jan 31, 2026
2 checks passed
@roboshyim roboshyim deleted the feat/ban-list branch January 31, 2026 10:30
This was referenced Jan 31, 2026
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.

Implement BAN (pattern-based invalidation)

1 participant