[wp-trac] [WordPress Trac] #37597: served oEmbed from cache even when expired

WordPress Trac noreply at wordpress.org
Mon Aug 8 15:55:21 UTC 2016


#37597: served oEmbed from cache even when expired
--------------------------+----------------------
 Reporter:  zabatonni     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:  4.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by helen):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 That is the intention - an external HTTP request should not be fired on a
 pageview, so it will pull from cache (`$this->usecache`) no matter the
 age. The expiry is to determine whether to refresh an existing cache only
 when saving a post. Cached oEmbed responses are only refreshed on post
 save by default, which was the behavior before 4.0 as well.

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


More information about the wp-trac mailing list