WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#41297 closed defect (bug) (duplicate)

The ajax action parse_embed doesn't honor oembed_ttl and still serving from the cache

Reported by: ivankristianto Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: Embeds Keywords:
Focuses: Cc:

Description

When we are pasting the instagram/twitter/youtube url, the parse_embed action will fired and try to render the oembed feature.
But it doesn't honor the oembed_ttl, so it cannot bust the cache.

Attachments (1)

41297.patch (631 bytes) - added by ivankristianto 3 years ago.
Ensure to clear cache when cache is expired

Download all attachments as: .zip

Change History (3)

@ivankristianto
3 years ago

Ensure to clear cache when cache is expired

#1 @swissspidy
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hey there,

Thanks for your report!

This has come up before, for example in #14759.

See #37597 for an explanation on why it is like this.

#2 @ivankristianto
3 years ago

@swissspidy Thank you for your reply. That make sense to me.

Note: See TracTickets for help on using tickets.