public class


extends Object
implements CDNStrategy
   ↳ 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 //

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


Public Constructors
Public Methods
boolean supportsCdn()
String transformRelativeUrl(String s)
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)