public class JiraBaseUrlCDNStrategy extends Object implements com.atlassian.plugin.webresource.cdn.CDNStrategy
/my/resource.js
will be transformed to be served from //my.cdnhost.com/my.jirahost.com/my/resource.js
jira.baseurl.cdn.enabled to true to enable
jira.baseurl.cdn.disabled to true to override any enablement and disable the feature.)
jira.baseurl.cdn.prefix to the CDN prefix, eg //my.cdnhost.com. This
must not end with a trailing slash. The JIRA hostname (determined by the jira.baseurl application
property) is appended to the prefix as the first path component, i.e.
//my.cdnhost.com/my.jirahost.com.
JiraPrefixCDNStrategy is that it
allows the JIRA hostname to be changed at runtime and for that to be dynamically incorporated into the CDN base URL
to a single CDN proxy to service multiple JIRA instances.| Constructor and Description |
|---|
JiraBaseUrlCDNStrategy(ApplicationProperties applicationProperties) |
public JiraBaseUrlCDNStrategy(ApplicationProperties applicationProperties)
Copyright © 2002-2015 Atlassian. All Rights Reserved.