[wp-trac] [WordPress Trac] #37597: served oEmbed from cache even when expired
WordPress Trac
noreply at wordpress.org
Tue Sep 19 19:05:25 UTC 2017
#37597: served oEmbed from cache even when expired
--------------------------+-----------------------
Reporter: zabatonni | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Embeds | Version: 4.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by QantumThemes):
Hello @westonruter and thanks for the answer, I understand what you mean,
still this represents a wrong behavior as the cache should be refreshed
when the content changes and the original "oEmbedded" content is not there
anymore.
If this was normal, would mean that accessing to the same data in
different ways could provide different results, leaking in consistency.
I don't understand why WP can't simply re-parse the content on save to
check if the oembed cache needs refreshing.
Making this operation manually IS possible, but is not what a theme or
plugin should do.
What people expects is that you change the data and the content changes.
As technicians we can explain whatever tech reason we want, but still is
not the correct thing that should happen...
Well, I hope someone will fix it soon.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37597#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list