mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-21 20:54:17 +08:00
The notification-grouping logic required to show the collapsed Notifications toolbar - "You have 3 pending friend requests", etc - is currently done in PHP, in a manner that requires all notifications to be loaded into memory and processed. On sites where users have large numbers of notifications, this operation requires extensive resources. By leaving the grouping to MySQL, we can speed up processing in almost all situations. This changeset also adds specific caching for grouped notifications. Props m_uysl. See #7130. git-svn-id: https://buddypress.svn.wordpress.org/trunk@11888 cdf35c40-ae34-48e0-9cc9-0c9da1808c22 |
||
|---|---|---|
| .. | ||
| class-bp-notifications-notification.php | ||
| class-bp-notifications-template.php | ||
| functions.php | ||
| template.php | ||