WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#20254 closed feature request (wontfix)

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

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

Description

For example:

set_transient_to_file();

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

Change History (1)

comment:1 scribu2 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.