Project

General

Profile

Actions

Bug #15480

closed

Ensure homepage caches are cleared when blog posts are published on other sites

Added by Raymond Hoh about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Home Page
Target version:
Start date:
2022-02-28
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Currently, some homepage blocks require caching and are cached on the main site only.

However, whenever a blog post is published on another site, the "Active Sites", "Sites Across CUNY" and "CUNY-Wide Activity" caches are not cleared. This can result in stale data for these homepage blocks.

Will need to register a new global cachegroup so we can clear these caches effectively across the entire site.

Fix coming shortly.

Actions #1

Updated by Raymond Hoh about 2 years ago

  • Status changed from Assigned to Staged for Production Release

Addressed in https://github.com/cuny-academic-commons/cac/commit/bca3b86a71c6765ba91653bfb52f32c8da7d06f8.

Boone, just a FYI that I've registered a new global cachegroup -- 'cac' -- and moved the homepage cache deletion routine from bp-nelo to bp-custom.php to ensure it runs sitewide.

Actions #2

Updated by Boone Gorges about 2 years ago

Good call - I'd missed the site-specific aspect of the caching during development. Thank you!

Actions #3

Updated by Boone Gorges about 2 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF