[wp-trac] [WordPress Trac] #14759: Improve the way oEmbed deals with caching

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 3 00:38:32 UTC 2010


#14759: Improve the way oEmbed deals with caching
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:                 
     Type:  enhancement   |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Btw, I run into this kind of situation with a number of plugins of mine
 that cache their output when it's complex to generate. I use transients
 when out of the loop, and postmeta within it. The hard part is flushing,
 not storing or retrieving.

 In our case we've a reasonably simple approach that works: All oEmbed
 caches could be flushed on WP upgrades. Seems frequent enough IMO. We've a
 recent ticket about disabling security filters on the front end to make
 things faster; surely we don't want to replace them with extra API calls
 to external services. ;-)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14759#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list