Page MenuHomePhabricator

Convert user profile images into a standard cache
ClosedPublic

Authored by epriestley on Jun 5 2016, 1:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:38 AM
Unknown Object (File)
Wed, Apr 24, 11:20 PM
Unknown Object (File)
Fri, Apr 19, 4:49 PM
Unknown Object (File)
Thu, Apr 11, 12:40 PM
Unknown Object (File)
Thu, Apr 11, 9:25 AM
Unknown Object (File)
Tue, Apr 2, 9:00 PM
Unknown Object (File)
Mar 30 2024, 2:14 AM
Unknown Object (File)
Mar 26 2024, 4:04 AM
Subscribers
None

Details

Summary

Ref T4103. Ref T10078. This moves profile image caches to new usercache infrastructure.

These dirty automatically based on configuration and User properties, so add some stuff to make that happen.

This reduces the number of queries issued on every page by 1.

Test Plan

Browsed around, changed profile image, viewed as self, viewed as another user, verified no more query to pull this information on every page

Diff Detail

Repository
rP Phabricator
Branch
setting30
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12466
Build 15798: Run Core Tests
Build 15797: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Convert user profile images into a standard cache.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Those failures are probably fixed in D16041, let me backport the fixes.

Oh, no, they're not directly related. Some unit tests try to build/access users in weird ways that don't work with some of the cache stuff. I'll sort it out in the morning.

epriestley edited edge metadata.
  • Rebase on D16042, which fixes unit tests.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2016, 2:53 PM