Files
outline/server
Tom MoorandClaude 68b912825c perf: Skip loading document body for authorization-only lookups (#13706)
Several high-traffic endpoints (views.create, views.list, comments.list,
relationships.list, subscriptions.list/info, events.list, pins.info,
documents.insights/users/documents) load a document purely to run a
policy check, yet fetched its full content, text and state columns on
every request. The read policy only inspects ownership, membership and
collection fields, so pass includeContent: false to use the existing
withoutContent scope. comments.list keeps the body only when anchor text
is requested, which is the sole consumer of it.


Claude-Session: https://claude.ai/code/session_017swPbmq4SwtkE15fcRhdcU

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-08 11:20:39 -04:00
..
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2026-08-15 13:25:10 -04:00