Jira custom app Cache busting


I have developed a Jira app for a customer. Most of the time when features are added, they require changes in the front-end (.js) files. After each deploy all user have to CMD+SHFT+R hard reload the app screen to get the new features, js content …

Is there a way to tell the user browser to refetch the js, css … resources after the deploy of a new version? I am using the Atlassian SDK.


1 Like

Incrementing the version tag will do this, found within your pom.xml file. For instance, if you are releasing 1.0.0, I would recommend incrementing to 1.0.1 for minor JS changes.

This will ensure that clients receive the latest version when the installed plugin is installed.

This is useful for anything served up by Web Resources.

Thanks Steve!

1 Like