[wp-trac] [WordPress Trac] #36767: oEmbed performance optimisation

WordPress Trac noreply at wordpress.org
Thu May 5 15:47:32 UTC 2016


#36767: oEmbed performance optimisation
--------------------------+-----------------------------
 Reporter:  bactisme      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 If you add one of your own post as oembed, It will, at the post page (or
 feed) request, still trigger oembed discovery mechanism (calling the page,
 parsing content to find oembed link), making a request from the server on
 itself.

 (wp-include/class-oembed.php get_provider/discover)

 If you don't have page cache (I don't on /feed) and make a post like
 "weekly summary" using a lot of oembed, its seems to trigger lot of
 requests.

 Since we know it's one of our url, could we just remove the overhead of
 making a external request?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36767>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list