discourse/app
Alan Guo Xiang Tan 7dc0f88acd PERF: Cache categories in Site model.
Profiling showed that we were roughly 10% of a request time creating all
the ActiveRecord objects for categories in the `Site` model on a site with 61 categories.
Instead of querying for the categories each time based on which categories the user can see,
we can just preload all of the categories upfront and filter out the
categories that the user can not see.
2021-06-17 13:17:42 +08:00
..
assets FIX: Move allow_unknown_sender_topic_replies outside SMTP/IMAP box (#13410) 2021-06-17 11:40:01 +10:00
controllers FIX: Make sure reset-new for tracked is not limited by per_page count (#13395) 2021-06-17 08:20:09 +10:00
helpers FEATURE: Add type=website OpenGraph meta tag (#13376) 2021-06-14 15:13:55 -03:00
jobs FIX: Make sure topic_user.bookmarked is synced in more places (#13383) 2021-06-16 08:30:40 +10:00
mailers DEV: Add SMTP group ID to EmailLog (#13381) 2021-06-15 11:29:46 +10:00
models PERF: Cache categories in Site model. 2021-06-17 13:17:42 +08:00
serializers PERF: Cache categories in Site model. 2021-06-17 13:17:42 +08:00
services FEATURE: Blocking is optional when deleting a user from the review queue. (#13375) 2021-06-15 12:35:45 -03:00
views FIX: Theme tests should work in production (#13333) 2021-06-08 22:03:59 +03:00