{
    "description": {
        "description": "Metadata description",
        "message": "Checks if your cache-control header and asset strategy follows best practices"
    },
    "directiveInvalid": {
        "description": "Report message when the directives are invalid",
        "message": "A 'cache-control' header contains invalid directives: $1"
    },
    "directiveInvalidValue": {
        "description": "Report message when the directives have invalid value",
        "message": "A 'cache-control' header contains directives with invalid values: $1"
    },
    "directiveNotRecomended": {
        "description": "Report message when a directive is not recomended",
        "message": "A 'cache-control' header contains directives which are not recommended: $1"
    },
    "name": {
        "description": "Metadata name",
        "message": "HTTP cache"
    },
    "noCacheBustingPattern": {
        "description": "Report message when a request does not match a cache busting pattern",
        "message": "Resource should use cache busting but URL does not match configured patterns."
    },
    "noHeaderFound": {
        "description": "Report message when the header \"cache-control\" doesn't exists or is empty",
        "message": "A 'cache-control' header is missing or empty."
    },
    "staticNotImmutable": {
        "description": "Report message when an static resource is not using the directive 'immutable'",
        "message": "Static resources should use a 'cache-control' header with the 'immutable' directive."
    },
    "staticResourceCacheValue": {
        "description": "Report message when a static resource has an short cache value",
        "message": "Static resources should use a 'cache-control' header with 'max-age=$1' or more."
    },
    "targetShouldNotBeCached": {
        "description": "Report message when the target shouldn't be cached",
        "message": "The target should not be cached or have a 'cache-control' header with 'max-age=$1' or less."
    },
    "wrongCombination": {
        "description": "Report message when the Cache-Control header is using a wrong combination of directives",
        "message": "The 'cache-control' header should not contain 'max-age' or 's-maxage' when 'no-cache' or 'no-store' is specified."
    }
}
