Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22754 closed defect (bug) (maybelater)

Lag when clicking the Media Library tab

Reported by: nacin's profile nacin Owned by: koopersmith's profile koopersmith
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords:
Focuses: Cc:

Description

When clicking “Media Library”, it doesn’t actually switch over to the active tab until after the attachments query has run, which could take anywhere from a few moments to a few seconds. It should switch over immediately, then have a blank screen waiting for the attachments to come in. (Bonus: spinner.)

Change History (2)

#1 @nacin
12 years ago

  • Owner set to koopersmith
  • Status changed from new to assigned

#2 @koopersmith
12 years ago

  • Milestone 3.5 deleted
  • Resolution set to maybelater
  • Status changed from assigned to closed

It actually isn't waiting for the attachments query to run, but if it has attachments, it renders them in one shot. The attachments view could definitely be optimized further — it is very much a v1 — but I am hesitant to introduce any changes there at this point.

Note: See TracTickets for help on using tickets.