[wp-trac] [WordPress Trac] #38911: Prevent Media Library search making an AJAX request for each char typed.

WordPress Trac noreply at wordpress.org
Sat Jan 14 18:34:58 UTC 2017


#38911: Prevent Media Library search making an AJAX request for each char typed.
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  adamsilverstein
  brandomeniconi         |      Status:  assigned
     Type:  enhancement  |   Milestone:  4.8
 Priority:  normal       |     Version:  4.6.1
Component:  Media        |  Resolution:
 Severity:  normal       |     Focuses:  javascript, administration,
 Keywords:  has-patch    |  performance
  commit                 |
-------------------------+-------------------------------------------------
Changes (by joemcgill):

 * keywords:  has-patch => has-patch commit


Comment:

 Replying to [comment:14 adamsilverstein]:
 > @joemcgill ^^ I updated this with a 300 ms debounce, what do you think?

 300ms seems like a reasonable number to me. A little delay, but not
 terrible.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38911#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list