Page MenuHomePhabricator

Digest resource cachekeys to maximum length
ClosedPublic

Authored by epriestley on Jun 1 2015, 1:27 PM.
Tags
None
Referenced Files
F13090462: D13095.diff
Thu, Apr 25, 2:24 AM
Unknown Object (File)
Wed, Apr 17, 2:56 PM
Unknown Object (File)
Tue, Apr 9, 12:23 PM
Unknown Object (File)
Mon, Apr 8, 8:16 PM
Unknown Object (File)
Mar 4 2024, 7:05 AM
Unknown Object (File)
Jan 28 2024, 9:29 AM
Unknown Object (File)
Jan 9 2024, 11:17 AM
Unknown Object (File)
Dec 29 2023, 10:26 AM
Subscribers

Details

Reviewers
btrahan
chad
Maniphest Tasks
T8372: Resource cache
Commits
Restricted Diffusion Commit
rP7a9174fa21b7: Digest resource cachekeys to maximum length
Summary

Fixes T8372. We currently store the entire resource path in the cachekey; shorten it to a maximum of 64 characters.

The key size is 128 and T8372 had an example of a 112-byte key which could run over 128 with a slightly-long cache namespace.

Test Plan
  • Not 100% sure this is the issue, but it seems likely.
  • Dumped the cachekey before and after the change.
  • Saw values like celerity:/res/1432859262T/phabricator/e2460e8f/core.pkg.css-6eGjUCJORU3j now.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Digest resource cachekeys to maximum length.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Jun 1 2015, 3:58 PM
This revision was automatically updated to reflect the committed changes.