Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20254 closed feature request (wontfix)

Maybe creating function similar set_transient() to write into file?

Reported by: wikicms's profile wikicms Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Cache API Keywords:
Focuses: Cc:


For example:


Most have nothing to add, all described in the question.

Change History (1)

#1 @scribu
12 years ago

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

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.

Note: See TracTickets for help on using tickets.