-
Suggestion
-
Resolution: Fixed
-
None
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Resolution
- JIRA now uses the extension of the file to determine if it is a zip, instead of opening and inspecting the top of the file.
- If it is a zip, the description of the entries is cached so the zip doesn't need to be opened again.
—
Steps to reproduce:
- Create an issue and reload it a few times; observe the page load times on average.
- Create a zip file with about 10 files at the root.
- Attatch it to an issue 10-20 times.
- Refresh the issue and now observe the average page load times.
The problem is that the jira-view-issue-plugin extracts every single Zip File attached to an issue on every page load. See: jira-components/jira-plugins/jira-view-issue-plugin/src/main/resources/viewissue/attachmentsblock.vm
This should be turned into an asynchronous operation so that, only when a user clicks on the drop-down arrow for that attachment do we fire a rest call and get the data, performing the extraction in that operation.
In the long term we should even consider Connecting that location for Cloud so that we can pull zip file extraction out into a shared service.
- relates to
-
JRACLOUD-37521 Browsing an Issue is very slow on a page with many Zip Attachments and Zip Support enabled.
- Closed
-
JDEV-14969 Loading...
- was cloned as
-
JDEV-28778 Loading...