Page MenuHomePhabricator

Cache README content for repositories
ClosedPublic

Authored by epriestley on Dec 6 2016, 5:37 PM.
Tags
None
Referenced Files
F15440238: D17002.id40905.diff
Wed, Mar 26, 11:34 AM
F15439626: D17002.id.diff
Wed, Mar 26, 8:26 AM
F15437064: D17002.diff
Tue, Mar 25, 5:18 PM
F15401845: D17002.id40906.diff
Mon, Mar 17, 7:28 PM
F15334560: D17002.id40905.diff
Sat, Mar 8, 10:21 AM
F15334559: D17002.diff
Sat, Mar 8, 10:20 AM
F15282890: D17002.diff
Mar 4 2025, 3:23 AM
Unknown Object (File)
Feb 18 2025, 12:09 PM
Subscribers
None

Details

Summary

Ref T11954. Especially with higher-latency file stores like S3, we can spend a lot of time reading README data and then pulling it out of file storage.

Instead, cache it.

Test Plan

Browsed a repostory with a README, saw faster pages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Cache README content for repositories.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 6 2016, 5:45 PM
This revision was automatically updated to reflect the committed changes.