using set_transient in wordpress

set_transient is an excellent caching mechanism in wordpress. However one thing to note is that it depends on the caching plugin that is installed. So for example, if the plugin caching mechanism is memcache, the cache will be stored in memcache instead of in the db. Hence clearing the memcache from the plugin will clear your set_transient cache as well.

see
see http://codex.wordpress.org/Class_Reference/WP_Object_Cache

Like it.? Share it:
Tags:

Comments are closed.