discourse/app
Alan Guo Xiang Tan 070eac16a8
PERF: Optimize the performance of `TopicLink.topic_map` query (#19630)
Instead of relying on the `ILIKE` operator to filter out image links, we
can instead rely on the `TopicLink#extension` column which allows us to
more efficiently filter out image links.

This optimization mainly affects topics that are link heavy which is
common in topics with alot of replies. When profiling a production
instance for a topic with 10K replies and 2.5K `topic_links`, this
optimization reduces the query time from ~18ms to around ~4ms.
2022-12-28 08:10:36 +08:00
..
assets FEATURE: Warn admins about private group name's exposure to anonymous users. (#19557) 2022-12-27 13:17:13 +05:30
controllers DEV: Improve performance of system test `sign_in` helper (#19579) 2022-12-22 16:03:27 +00:00
helpers FEATURE: Optionally allow a separate `s3_asset_cdn_url` to be specified (#19284) 2022-12-08 10:36:20 +00:00
jobs DEV: Skip push notifications for active online users (#19502) 2022-12-19 20:17:40 +00:00
mailers SECURITY: Filter tags in user notifications for visibility (#19239) 2022-11-29 10:35:41 -06:00
models PERF: Optimize the performance of `TopicLink.topic_map` query (#19630) 2022-12-28 08:10:36 +08:00
serializers FIX: Whisper tooltip shows the allowed groups (#19509) 2022-12-23 15:42:46 -03:00
services DEV: Use WebPush fork for OpenSSL 3 compat (#19627) 2022-12-27 15:28:13 -03:00
views FIX: Broken images on subfolder installs (#19404) 2022-12-09 11:24:12 -07:00