#14379 closed defect (bug) (fixed)
Add cache invalidation to get_blogs_of_user()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Users | Version: | 3.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Instead of doing proper cache invalidation, get_blogs_of_user() sets a 5 second timeout on its cache. This results in lots of unnecessary queries. get_blogs_of_user() should set its cache without expiration and do invalidation where needed. Also, it should cache on a list blog ids. There is no need to cache what the get_blog_details() cache is already caching.
Attachments (1)
Change History (4)
- Milestone changed from Awaiting Review to 3.1
- Owner set to ryan
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.

(In [15833]) Cache invalidation for get_blogs_of_user(). fixes #14379