public class

JiraPrefixCDNStrategy

extends Object
implements CDNStrategy
java.lang.Object
   ↳ com.atlassian.jira.plugin.webresource.JiraPrefixCDNStrategy

Class Overview

CDN Strategy for JIRA that takes a static prefix. This will transform cdn-able resources to be served from a single host, with the app's hostname as the first section of the url. For example, /my/resource.js will be transformed to be served from //my.cdnhost.com/my.jirahost.com/my/resource.js

  • Set the dark feature jira.fixed.cdn.enabled to true
  • Set the system propery jira.fixed.cdn.prefix to the cdn prefix, eg //my.cdnhost.com/my.jira.com. This must not end with a trailing slash.

Summary

Public Constructors
JiraPrefixCDNStrategy()
Public Methods
boolean supportsCdn()
String transformRelativeUrl(String s)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.webresource.cdn.CDNStrategy

Public Constructors

public JiraPrefixCDNStrategy ()

Public Methods

public boolean supportsCdn ()

public String transformRelativeUrl (String s)