Search


Search something to see results

DynamicWhitelistRule

A single dynamic whitelist rule that defines a URL pattern and the content types it applies to.

2.22.0

interface DynamicWhitelistRule {
    contentType?: string[];
    searchPattern: RegExp;
}

Index

Properties

Properties

contentType?: string[]

The content types this rule applies to. Uses the same content type strings as other Speed Kit rules (e.g. 'navigate', 'document', 'script', 'style').

['navigate']
['navigate', 'document']
searchPattern: RegExp

Pattern to identify URLs that should be dynamically whitelisted based on bloom filter data. The first matching group of the pattern will be used as the lookup term.

//search/([^/?]*)/