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

WordPress Trac noreply at wordpress.org
Tue Nov 26 12:20:05 UTC 2013


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

Comment (by sanchothefat):

 Replying to [comment:26 rmccue]:
 > `add_option()` takes an autoload parameter that can be set to `'no'`
 instead, plus this stores it per-site rather than network-wide. Seems
 better than files to me. :)

 I'd thought about that but took into account [comment:3 nacin's comment]:

 >I like the idea of these expiring, but my first take is that this storage
 solution has its own drawbacks. Storing them with postmeta is flexible and
 is tied to the post, versus having an ever-growing number of transients,
 which often will be stored in the options table.
 >From a more practical perspective, that also means new queries for the
 transient, as they're neither autoloaded like options or queried as part
 of the post cache like postmeta.

 So the goal is to keep queries down as well.

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


More information about the wp-trac mailing list