Why does traffic from a blocked IP address still contribute to Views and Visits?
Date Published: November 23, 2026
If you block an IP address in Drupal or through .htaccess, Varnish cache can still serve content to that IP address. When Varnish serves a cached response, the request does not reach the application-level blocking rule. Cached responses that qualify can still contribute to your Views and Visits usage.
To resolve this issue, block unwanted traffic before it reaches the cache or application:
- Review where the existing IP-blocking rule applies.
- Use a Web Application Firewall (WAF), such as Acquia Edge, or an appropriate CDN traffic-control feature to block the unwanted requests upstream.
- If you use Platform CDN, contact Acquia Support and provide the specific IP addresses or IP ranges to block, so that Acquia Support can configure these blocks on your behalf.
- Account for the reporting delay and review subsequent usage.
- Check the selected reporting period before concluding that a block is ineffective. Historical usage from before the block was applied remains part of that period.