1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/applications/people
epriestley 14fe941c34 Reduce the cost of generating default user profile images
Summary:
See PHI413. You can pre-generate these with `bin/people profileimage --all`, but they're needlessly expensive to generate.

Streamline the workflow and cache some of the cacheable parts to reduce the generation cost.

Test Plan:
  - Ran `bin/people profileimage --all` and saw cost drop from {nav 15.801s > 4.839s}.
  - Set `defaultProfileImagePHID` to `NULL` in `phabricator_user.user` and purged caches with `bin/cache purge --all`.
  - Loaded user directory.
  - Saw default images regenerate relatively quickly.

Differential Revision: https://secure.phabricator.com/D19168
2018-03-01 16:53:17 -08:00
..
application Support export of user activity logs 2018-01-30 11:12:32 -08:00
cache Reduce the cost of generating default user profile images 2018-03-01 16:53:17 -08:00
capability People - refine permissions on creating new users 2015-02-05 16:47:09 -08:00
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move "wild" config types to new code 2017-06-27 12:34:56 -07:00
controller Support basic export of user accounts 2018-01-26 11:17:44 -08:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor Move account passwords to shared infrastructure 2018-01-23 13:43:07 -08:00
engine Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
engineextension Modularize the "jump nav" behaviors in global search 2018-02-14 18:08:07 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
management Reduce the cost of generating default user profile images 2018-03-01 16:53:17 -08:00
markup Fix spelling 2017-10-09 10:48:04 -07:00
menuitem Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
phid Add Editor-based mail stamps: actor, via, silent, encrypted, new, mention, self-actor, self-mention 2018-02-06 04:04:52 -08:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Add date range filtering for activity, push, and pull logs 2018-01-30 15:36:22 -08:00
search Reduce the amount of boilerplate that implementing FerretInterface requires 2017-09-07 13:23:31 -07:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Reduce the cost of generating default user profile images 2018-03-01 16:53:17 -08:00
typeahead Separate sever-side typeahead queries into "prefix" and "content" phases 2016-11-10 08:54:59 -08:00
view Make the remote address rules for Settings > Activity Logs more consistent 2018-01-30 15:45:39 -08:00