How works BuddyPress-build/bp-activity /bp-activity-cache.php ?? #97
-
Hello,How exactly does it work? Do I have to have the Memcached module on the server? Or just write in wp config the line define( 'WP_CACHE', true ); Please advice for a beginner. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The bp-activity-cache.php works with the built-in WordPress Object cache by default by setting the relevant items to cache or clearing the relevant items from cache and should work with other object caching plugins (memcache, redis, etc). For persistent object caching, the relevant plugin (memcache, redis, etc.) might define and set the constant WP_CACHE to true within wp-config.php or provide instructions on how to manually do such when the relevant plugin is activated and, yes, the server (host) must have the appropriate object caching service installed. There is some information (outdated) found within the BuddyPress codex, however, that page will most likely get tagged as a migration candidate for documentation that needs updating to reflect current information. The most current information can be found on the WordPress site at the following: |
Beta Was this translation helpful? Give feedback.
The bp-activity-cache.php works with the built-in WordPress Object cache by default by setting the relevant items to cache or clearing the relevant items from cache and should work with other object caching plugins (memcache, redis, etc).
For persistent object caching, the relevant plugin (memcache, redis, etc.) might define and set the constant WP_CACHE to true within wp-config.php or provide instructions on how to manually do such when the relevant plugin is activated and, yes, the server (host) must have the appropriate object caching service installed.
There is some information (outdated) found within the BuddyPress codex, however, that page will most likely get tagged as a migration …