[wp-trac] [WordPress Trac] #20254: Maybe creating function similar set_transient() to write into file?

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 18 10:34:18 UTC 2012


#20254: Maybe creating function similar set_transient() to write into file?
-----------------------------+----------------------
 Reporter:  wikicms          |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Cache            |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |
-----------------------------+----------------------
Changes (by scribu):

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


Comment:

 The whole idea of transients was to have a caching mechanism that's
 guaranteed to be (somewhat) persistent.

 The most straightforward way to do that is by falling back to the
 wp_options table when there's no other caching backend, such as memcache,
 APC or yes, even a file-based caching backend.

 Therefore, set_transient_to_file() makes no sense.

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


More information about the wp-trac mailing list