Skip to content

Generational cache for WP MU#78

Open
ulkoalex wants to merge 20 commits into
tollmanz:masterfrom
ulkoalex:master
Open

Generational cache for WP MU#78
ulkoalex wants to merge 20 commits into
tollmanz:masterfrom
ulkoalex:master

Conversation

@ulkoalex

Copy link
Copy Markdown

It allows to purge cache for a single blog, leaving cache of all other blogs intact.

To clean cache for a single blog use the following code:

global $wp_object_cache, $blog_id;

$wp_object_cache->reset_generation($blog_id);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant