Homec4science

Convert user profile images into a standard cache

Authored by epriestley <git@epriestley.com> on Jun 5 2016, 02:39.

Description

Convert user profile images into a standard cache

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

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103, T10078

Differential Revision: https://secure.phabricator.com/D16040

Details

Committed
epriestley <git@epriestley.com>Jun 5 2016, 17:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2b344b2bb500: Make caches misses throw by default intead of inline-generating
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH6f1053c206f1: Convert user profile images into a standard cache (authored by epriestley <git@epriestley.com>).Jun 5 2016, 17:52