Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Referencing Javascript include file in Announcement Banner causes slow page load in Firefox

I'm using the following snippet in the announcement banner for logged in users:

<script type="text/javascript" src="/includes/nws_custom/lib/NWS.js"></script>
<script type="text/javascript" src="/includes/nws_custom/lib/jirasupport.js"></script>
<link type="text/css" rel="stylesheet" href="/includes/nws_custom/css/nws.css" media="all"></link>

In Firefox, the load time on pages exceeds 30 seconds versus Chrome being 3 seconds.

The problem started occurring after the 7.0.2 upgrade.  

 

Here is Chrome's JS profile:

ChromeJSAnnouncementBanner.JPG

 

Here is Firefox's JS profile:

FirefoxJSAnnouncementBanner.JPG

 

Issue is persistent with Firefox regardless of page that I view in JIRA or how many times I reload the page.  Seems tied to batch.js

Referencing any JS file in Announcement banner causes the issue, including an empty one.  Wonder if it is somehow disabling batch.js caching.  Any recommendations on how to address the slowness in Firefox?

 

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes

We are running JIRA v7.0.2

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2015

What JIRA version do you have? There is a performance bug in the batch.js which has been fixed in the later versions.

Reference: https://jira.atlassian.com/browse/JRA-37337

TAGS
AUG Leaders

Atlassian Community Events