Open cthos opened 9 years ago
The X-Cache section is actually pretty useless on its own. What would be better is if I could do something like:
X-Cache
report.track('X-Drupal-Cache', function (resource) { return val === 'MISS'; });`
Where the first parameter is a header, and the second is a callback which allows you to check against an arbitrary condition.
This would be more appropriate for the metric tracker, as well. I've added a report section in #34
The
X-Cache
section is actually pretty useless on its own. What would be better is if I could do something like:Where the first parameter is a header, and the second is a callback which allows you to check against an arbitrary condition.