HomePhabricator

Put a cache in front of Celerity transforms, and update packages

Description

Put a cache in front of Celerity transforms, and update packages

Summary:
Fixes T5094. In some cases we do slightly expensive transformations to resources (inlining images, replacing URIs, building packages). We can throw cache in front of them easily since URIs are already permanently associated with a single resource.

Also browse around and move some CSS/JS into packages.

Test Plan:
Added logging to verify the caches are working, saw moderately improved performance.

Browsed around looking at resources tab in developer console, saw fewer total requests.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5094

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on May 22 2014, 5:47 PM
Reviewer
btrahan
Differential Revision
D9175: Put a cache in front of Celerity transforms, and update packages
Parents
rPf1534e6feb6a: Make password reset emails use one-time tokens
Branches
Unknown
Tags
Unknown
Tasks
T5094: Put cache in front of Celerity

Event Timeline