Active
Project:
Statistics
Version:
1.0.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2026 at 21:39 UTC
Updated:
15 Feb 2026 at 09:59 UTC
Jump to comment: Most recent
I'm working on Drupal11 site and I'd like use Statistics module.
The site will be available behind Varnish, a reverse proxy that bypass normal Drupal bootstrap, if the url is in cache.
Does this module work also in this situation?
On Drupal 7 I remember an option to enable Ajax behaviour.
Thanks,
Sergio
Comments
Comment #2
arrubiu commentedComment #3
fgmThe way Statistics works is that
statistics.jsis loaded with the page, then sends aPOSTXHR to<siteroot>/modules/contrib/statistics/statistics.phpwhich returns an uncacheable response. It no longer needs a specific configuration for AJAX, just make sure counting is enabled : for compatibility with older core versions, it is disabled by default. This means:<siteroot>/modules/contrib/statistics/statistics.phppath. Many configurations block all PHP pages except the front controller and need a specific exception