29th / personnel-v3

Personnel management system version 3
https://www.29th.org
2 stars 6 forks source link

Consider caching unit attendance stat queries #304

Closed wilson29thid closed 3 months ago

wilson29thid commented 3 months ago

The unit attendance page is still a bit slow (despite #303) for large units like Regt HQ, and now it's down to the 'last 30 days / 60 / 90 / total' stats at the top. We should consider caching those for, say, 24 hours, perhaps always showing the stats 'as of yesterday'. At the very least that would speed things up when paging through.