#include <types/cli.h>
#include <types/filters.h>
#include <types/global.h>
+#include <types/cache.h>
#include <types/stats.h>
#include <proto/acl.h>
/* Proceed with the stats now. */
- if (unlikely(objt_applet(s->target) == &http_stats_applet)) {
+ if (unlikely(objt_applet(s->target) == &http_stats_applet) ||
+ unlikely(objt_applet(s->target) == &http_cache_applet)) {
/* process the stats request now */
if (sess->fe == s->be) /* report it if the request was intercepted by the frontend */
HA_ATOMIC_ADD(&sess->fe->fe_counters.intercepted_req, 1);