---
** [tickets:#8447] restrict thread pre-caching to not be so greedy**
**Status:** open
**Milestone:** unreleased
**Created:** Wed Jul 13, 2022 08:22 PM UTC by Dillon Walls
**Last Updated:** Wed Jul 13, 2022 08:22 PM UTC
**Owner:** nobody
We recently added up-front db caching on thread pages so that we can grab all
of the attachments, artifactreferences, etc. up front instead of having 25
separate db lookups. The problem is we're grabbing ALL of them. So on a very
long thread with 500 replies, we're caching 500 values rather than only those
that we care about on this page.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.