public interface CDNStrategy
| Modifier and Type | Method and Description |
|---|---|
default Optional<PrebakeConfig> |
getPrebakeConfig()
Define how pre-baked resources in CT-CDN will be consumed by transforming local URLs according to a mapping file.
|
boolean |
supportsCdn() |
String |
transformRelativeUrl(String url)
Transforms the given URL to be served from the CDN.
|
boolean supportsCdn()
String transformRelativeUrl(String url)
url - relative URL to transformeddefault Optional<PrebakeConfig> getPrebakeConfig()
WebResourceIntegration.isCtCdnMappingEnabled() is "true" and cached "forever".
Runtime changes to the configuration will be ignored.Copyright © 2017 Atlassian. All rights reserved.