shortTermCacheUrlPattern

Regex pattern to match API URLs that are OK to store short-term in the HTTP cache, up to shortTermCacheMaxAge (1d by default). By default, uses environment variable GRADLE_ENTERPRISE_API_SHORT_TERM_CACHE_URL_PATTERN or a pattern matching:

  • {host}/api/builds

Use | to define multiple patterns in one, e.g. .*gradle-attributes|.*test-distribution.