Bug 2004788 - Slow load on create bug page
Summary: Slow load on create bug page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Utkarsh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-16 03:09 UTC by Jeff Fearn 🐞
Modified: 2021-11-03 00:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-03 00:10:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2021-09-16 03:09:53 UTC
Description of problem:
For products with large component lists the create bug page loads slowly.

There seems to be 2 causes of this.

1: The components are cached in enter_bug.cgi.

2: The components are cached in template/en/default/bug/create/create.html.tmpl when rendering bug and attachment flags.

#1 can be removed, it is unnecessary as the components are fetched using ajax on the form.

#2 requires reviewing Bugzilla::Product::flag_types, this method caches all the component specific flags. It looks like this might not be required for entering bugs, so it might be possible to add a parameter to this method to bypass component caching. Alternatively it might simply be possible to disable the component caching code, this would require confirmation.

Comment 1 customercare 2021-10-15 09:43:27 UTC
As there is no progress regarding this matter, i assume you did not find a solution ( caching would be one ).

Comment 3 Jeff Fearn 🐞 2021-11-03 00:10:53 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


Note You need to log in before you can comment on or make changes to this bug.