#14379 closed defect (bug) (fixed)
Add cache invalidation to get_blogs_of_user()
Reported by: | ryan | Owned by: | ryan |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Users | Keywords: | |
Focuses: | 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)
Note: See
TracTickets for help on using
tickets.
(In [15833]) Cache invalidation for get_blogs_of_user(). fixes #14379