Project

General

Profile

Actions

Feature #2609

closed

Improved caching for front-page widgets

Added by Boone Gorges almost 11 years ago. Updated over 9 years ago.

Status:
Resolved
Priority name:
Low
Assignee:
Category name:
Home Page
Target version:
Start date:
2013-05-30
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

See also #2809, which is another idea for speeding up the homepage.

We have three dynamic widgets on the home page. Each requires a fairly hefty query. I was thinking we might see noticeable improvements if we employed some sort of caching for the widgets. Something like: Put the markup of the inner div into a transient that expires every minute or two. In cases where the widget has different tabs fetched by AJAX (groups, members), store each one of the values.

Actually, we might cache some sorts of data even more intelligently. Eg, the Members > Newest cache only needs to be busted when a new member joins the site. The Active sorts probably need to have time-based storage, since people are active on the site at least several times a minute.

Ray, could I ask you to think about these ideas and let me know what you think is (a) feasible, and (b) worth doing? Thanks!


Related issues

Related to CUNY Academic Commons - Feature #2591: Should we be displaying rotating tweets on the CAC homepage?RejectedDominic Giglio2013-05-21

Actions
Actions

Also available in: Atom PDF