Class CachingJiraHomeTemplateContentLoaderImpl

java.lang.Object
com.atlassian.jira.template.CachingJiraHomeTemplateContentLoaderImpl
All Implemented Interfaces:
CachingJiraHomeTemplateContentLoader, JiraHomeTemplateContentLoader

@InjectableComponent public class CachingJiraHomeTemplateContentLoaderImpl extends Object implements CachingJiraHomeTemplateContentLoader
The purpose of this class is to cache all the contents of files loaded from Jira Home templates directory. In DC mode the Jira Home Shared directory may not be available always -> to mitigate this problem we're not caching missing files and retrying to read the files next time the given template is requested.

Note: Be aware that @BotoCssInliner has it's own caching logic. This class provides additional layer of caching.