[wp-trac] [WordPress Trac] #30720: In editor, add a button to refresh/invalidate (oEmbed) embeds cache

WordPress Trac noreply at wordpress.org
Mon Jul 11 21:39:35 UTC 2016


#30720: In editor, add a button to refresh/invalidate (oEmbed) embeds cache
-------------------------+-----------------------------
 Reporter:  ivanp        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Embeds       |     Version:  4.0
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui
-------------------------+-----------------------------

Comment (by azaozz):

 > We might be able to change this so that the URL will still be in a
 wpView like a working embed.

 Sure, that is doable. Currently we return the same error for both "non-
 embeddable" URLs and "embeddable" URLs that return errors. This can be
 changed to show different error message for the "embeddable" URLs, perhaps
 asking the user to "try again later". These errors can be in wpViews too.

 > Why not caching {{unknown}} is not an option?

 Because the embed code runs on the front-end and can be very very slow
 sometimes.

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


More information about the wp-trac mailing list