Page MenuHomePhabricator

Cache README content for repositories
ClosedPublic

Authored by epriestley on Dec 6 2016, 5:37 PM.
Tags
None
Referenced Files
F14054793: D17002.diff
Sat, Nov 16, 4:57 AM
F14043255: D17002.diff
Tue, Nov 12, 8:46 AM
F14026954: D17002.diff
Fri, Nov 8, 3:58 AM
F13995699: D17002.diff
Wed, Oct 23, 2:52 PM
F13968125: D17002.id40905.diff
Oct 16 2024, 6:48 PM
F13955973: D17002.diff
Oct 14 2024, 3:48 AM
Unknown Object (File)
Sep 26 2024, 3:42 AM
Unknown Object (File)
Sep 12 2024, 8:55 AM
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.