2.0.0 - added different types-based pruning
Mobile Detect library it's now optional, used only to prune from types: [ 'default-detect' ]
.
Added types: [ 'headers-exist' ]
to check for a header-value
to compare from the configuration, a match will trigger the prune.
Added types: [ 'query-parameters' ]
to check for a query-parameter-value
to compare from the configuration, a match will trigger the prune.
You can combine and use all of this types together.