Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have build a custom theme for a client of mine, and I am using transients in order to make the site operating faster.

After a week, I have see in the wp_options a huge list of transients records (in about 360000 records). This makes me beleave that transients are not removed from the database.

How can I remove that records and how ? Is there any good tutorial ?

Kind regards

share|improve this question
1  
"and I am using transients in order to make the site operating faster" Whaaa...? Please elaborate. –  TheDeadMedic Jun 24 '13 at 9:16
1  
Agreed, there's little chance that transients are actually making anything any faster for you, especially if you're using them in a way that adds 360k records inside a week. I think you need to re-evaluate whatever it is that you're doing from the start. –  Otto Jun 24 '13 at 12:27
add comment

1 Answer 1

up vote 1 down vote accepted

Unfortunately, expired entries will only be deleted if you attempt to access the transient again. If you don't access the transient then, even though it's expired, WordPress will not remove it. This is a known "issue" and is due to be corrected at some point in the WordPress core code.

-Copied from: Artiss Transient Cleaner

Found this plugin, can help you:

Artiss Transient Cleaner

Additionally, can modify the time of the deletion using the process mentioned HERE

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.