How can I disable caching web resources in JIRA plugins?
I have a JavaScript file that I want to download, but it is totally inconsistent as far as returning the latest uploaded version. I have taken the advice from the plugin module description page and hold down Shift while refreshing the page, but that never seems to have any effect.
Here is the relevant part of my atlassian-plugin.xml file.
<web-resource key="tg-wikilinks-js" name="Web Resources JS">
<resource type="download" name="tg-wikilinks.js" location="includes/js/tg-wikilinks.js"/>
<context>jira.view.issue</context>
</web-resource>
Community moderators have prevented the ability to post new answers.
Hi,
we have the same problem. Our static JS and CSS files are not updated for the users after an plugin update. How can we achive that the cache ist not set to NEVER EXPIRES. The users do not know about the plugin update and they do not know that they have to press SHIFT + RELOAD.
Thanks and best regards
Martin
is control+f5 only solution, is there a good solution for this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have the same problem with our JS files - files are not updated after the plugin has been updated.
Is anyone getting closer to a solution to this problem?
Is there a flag we can set to disable/modify this "aggressive" caching policy?
(Running JIRA v5.2.11)
Thanks in advance.
/Lasse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.