Page MenuHomePhabricator

Cache README content for repositories
ClosedPublic

Authored by epriestley on Dec 6 2016, 5:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 10:45 AM
Unknown Object (File)
Sun, Mar 31, 4:43 PM
Unknown Object (File)
Sat, Mar 30, 3:22 AM
Unknown Object (File)
Mar 25 2024, 7:32 AM
Unknown Object (File)
Mar 25 2024, 7:32 AM
Unknown Object (File)
Mar 25 2024, 7:32 AM
Unknown Object (File)
Mar 5 2024, 10:31 AM
Unknown Object (File)
Feb 23 2024, 6:16 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.