The Transients API provides a standardized way to store data temporarily (with an expiration time) in the database.

learn more… | top users | synonyms

1
vote
1answer
40 views

Transients API conditional

I have the following transient, but if the user changes the value of $url the transient should not be used. I want to know what is the most appropriate way to use this variable with the transient. ...
0
votes
1answer
316 views

pre_set_site_transient_update_plugins wont call on hosted webspace

Iam trying to use "pre_set_site_transient_update_plugins" to update my plugin from a GitHub repository. For that Iam using this example https://github.com/bfintal/Plugin-Update. On my Dev-System ...
1
vote
0answers
29 views

wp_options flooded with transient API entires

I make heavy use of the WordPress Transient API. Suddenly a few days ago my wp_options table began being flooded with transient entries (2GB worth on average). Normally WordPress only writes them to ...
1
vote
0answers
210 views

After having installed APC Object Cache Backend transients stopped working

My understanding is that once you enable the persistent object cache, your transients are no longer stored in wp_options but in the cache. Once I installed Mark Jaquith's APC Object Cache Backend, ...
0
votes
0answers
22 views

What is the best way to upload a temporary & sensitive file and then delete it when done

What is the best way to upload a temporary & sensitive file and then delete it when done. I'm writing a plugin (eventually for multisite) that allows users with a certain role to upload a .csv ...
0
votes
0answers
49 views

How to get transient cache to work with wp_enqueue_script

So I have this page that has various shortcodes on it. Each shortcode may have wp_enqueue_script to load say jQuery accordion or tabs. Now I am wanted to cache the page for better performance so I ...
0
votes
0answers
30 views

Show the online status of the current post's author

Is there a way that I can show the online status (Either online or offline) of the author of the post that a site visitor is viewing? I imagine it's something to do with the Transients API ...
0
votes
0answers
27 views

Should I use transients for these API call results?

I am consuming an API that gives me a list of people and their profiles. My initial idea was working perfectly fine when it's just the list of people because I was just saving the ids and names using ...
0
votes
0answers
46 views

Sitewide Tags and Transient API

I'm running a couple of multisite networks and am using a useful plugin called WordPress MU Sitewide Tags Pages. I like the plugin very much but I am concerned about performance, especially as my ...