Does Jira Cache App Content?

I’m working on a conversion of a Connect app to Forge using UI Kit. Periodically, I run into a problem where I get a minified React stacktrace in the browser console and my app page won’t load. It is almost impossible to tell what is going on when this happens. I have had to revert code changes until I could get the page to load. Even doing so, it still doesn’t always fix the issue until I clear the browser cache using cmd-shift-R in Chrome on Mac. I just ran into this. Once I got the page to load, I gradually added back all of my code and it displayed in Jira without any other changes. Can I disable the caching? How can I find out what is wrong without having to take out code until it starts working? Thank you.

Hi @KeithHamburg

Frontend resource might be cached, but you can get around it by using forge tunnel. With forge tunnel running it should serve the latest frontend assets from localhost.

You can also disable caching in devtools (in Network tab there’s a checkbox) to ensure that cache isn’t being used.

With minified React errors, unfortunately, in UI kit there’s no way to disable it. Please see this thread where it was discussed.

=> How to disable minified react? - #7 by BertrandDrouhard1