This commit is contained in:
Mateusz Gruszczyński committed 2026-11-19 16:23:30 +01:00
1 parent 38a23e2210
commit 45b1fc04c7
36 files changed
+9594 -7892

No files matched your search

+5 -1
View File
@@ -168,7 +168,11 @@ if let (Some(ticket), Some(plan), Some(transformed)) =
cache_settings,
fill_leader.take(),
);
if cache_settings.proactive_refresh_enabled && proactive_remaining_ttl > 0 {
// Avoid refreshing a cookie/credential-keyed entry without its original
// VCL variation context: proactive refresh must never collapse users.
if cache_settings.proactive_refresh_enabled && proactive_remaining_ttl > 0
&& !force_vary_cookie && !force_vary_authorization
{
schedule_proactive_refresh(
CacheRefreshContext {
state: state.clone(),