Cache (object cache) (category)

_prime_post_caches()

Adds the specified posts to the object cache. Posts that are already in the cache are skipped. Also creates a related cache of terms and metadata.

clean_comment_cache()

Deletes the object cache of the specified comment.

clean_post_cache()

Deletes the object cache of the post by the given ID. The cache of terms and child posts will also be deleted.

wp_cache_add()

Adds data to the cache if there is no cache with the specified key yet.

wp_cache_add_global_groups()

Adds the specified object cache group to the list of global groups. Needed for multisite.

wp_cache_add_non_persistent_groups()

Marks the specified group/groups as non-persistent cache, i.e., which does not need to be saved for inter-session use.

wp_cache_decr()

Decrements the value of the numeric cache item with the specified key and group.

wp_cache_delete()

Deletes the cache by the specified key and group.

wp_cache_flush()

Completely clears the object cache. Deletes all items in the object cache.

wp_cache_flush_runtime()

Completely clears the object cache only if it is stored in memory (persistent caching is not used). With persistent caching, it does nothing.

wp_cache_get()

Retrieves the object cache data by specified cache key and group.

wp_cache_get_last_changed()

Gets the timestamp of the last modification of the specified object cache group.

wp_cache_incr()

Increments the value of the numeric cache item with the specified cache key and group.

wp_cache_replace()

Replaces/updates the data of the specified cache only if the cache already exists; otherwise, it does nothing (will return false).

wp_cache_set()

Saves the data to the object cache. If data with this key already exists, it will be overwritten.

wp_clean_update_cache()

Deletes data about plugin, theme, and core updates from the cache.

wp_defer_term_counting()

Allows deferring the count of posts for a term (taxonomy element).

wp_suspend_cache_addition()

Temporarily suspends the addition of objects to the object cache.

wp_suspend_cache_invalidation()

Suspends the deletion/resetting of cache objects.

wp_using_ext_object_cache()

Checks if the plugin (additional code) for persistent object caching is enabled.