Increase the amount of cache tags sent by bundled purger

Created on 3 September 2025, 10 days ago

I have a project making use of the Varnish Bundled purger. We have runtime measurement disabled and a fixed timeout (7s) and connect timeout (3s). I recently found out that, with this configuration, the each BAN-request to Varnish only contained 4 cache tags. So if a request has 9 cache to invalidate, it would take 3 BAN-requests to Varnish.

When enabling runtime measurement, this increased to ~40 per BAN request. But this won't allow me to set fixed timeout and connect timeout values. Regardless, 4 or 40, this still feels a bit on the low end. Varnish is able to accept more.

Digging a little deeper in the Purge module, they actually advise to give a time hint as low as possible for purgers that bundle invalidations. This is something that we're not doing yet.

Can we following Purge's recommendations and assign a low time hint, perhaps along with a maximum number of cache tags per BAN-request (a safe number, since this can vary per set-up).

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium rp7

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024