Opened 14 months ago
Closed 14 months ago
#20254 closed feature request (wontfix)
Maybe creating function similar set_transient() to write into file?
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cache | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
For example:
set_transient_to_file();
Most have nothing to add, all described in the question.
Change History (1)
Note: See
TracTickets for help on using
tickets.

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.