# Prevent revalidation indicator being set by client
if (req.restarts == 0) {
  unset req.http.Early-Revalidation;
}

# If revalidation indicator is set, skip cache lookup
if (req.http.Early-Revalidation && req.restarts > 0) {
  set req.http.Fastly-Force-Shield = "1";
  set req.hash_always_miss = true;
}