mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 09:58:39 +08:00

Previously we were caching by user_id, but the there are only two possible outcomes. Therefore we only need to cache two values. This removes another N+1 query when serializing multiple user cards.