Page MenuHomePhabricator

Skip loading file transform sources when we know a file is not transformed
ClosedPublic

Authored by epriestley on Mar 14 2018, 6:57 PM.
Tags
None
Referenced Files
F18817105: D19224.id46033.diff
Oct 21 2025, 12:26 PM
F18815185: D19224.id.diff
Oct 21 2025, 1:12 AM
F18733775: D19224.id.diff
Sep 30 2025, 10:41 PM
F18679703: D19224.diff
Sep 26 2025, 1:22 AM
F18509441: D19224.id.diff
Sep 5 2025, 3:24 AM
F18502399: D19224.diff
Sep 4 2025, 10:24 PM
F18111119: D19224.diff
Aug 12 2025, 7:39 AM
F18094985: D19224.diff
Aug 7 2025, 10:28 PM
Subscribers
None

Details

Summary

Depends on D19223. Ref T13106. When we're loading a file, we currently test if it's a transformed version of another file (usually, a thumbnail) and apply policy behavior if it is.

We know that builtins and profile images are never transforms and that the policy behavior for these files doesn't matter anyway. Skip loading transforms for these files.

Test Plan

Saw local queries drop from 146 to 139 with no change in behavior.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable