Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save frankiejarrett/4ef5890043a80904c542339b1fd1ffb2 to your computer and use it in GitHub Desktop.
Save frankiejarrett/4ef5890043a80904c542339b1fd1ffb2 to your computer and use it in GitHub Desktop.
List of cache groups used in WordPress core
_meta
blog-details
blog-id-cache
blog-lookup
bookmark
calendar
category
comment
counts
networks
options
plugins
posts
site-options
site-transient
sites
{$taxonomy}_relationships
terms
themes
timeinfo
transient
useremail
userlogins
users
userslugs
@frankiejarrett
Copy link
Author

frankiejarrett commented Jun 6, 2017

How I came up with this list:

$ brew update && brew install -y ack
$ cd /path/to/wordpress
$ ack "wp_cache_get\(.+,.+['\"](.+)['\"]"

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