Page MenuHomePhabricator

Stop two special cache writes in read-only mode

Authored by epriestley on May 30 2016, 3:46 PM.



Ref T10769. The user availability cache write shouldn't happen in read-only mode, nor should the Differential parse cache write.

(We might want to turn off the availbility feature completely since it's potentially expensive if we can't cache it, but I think we're OK for now.)

Test Plan

In read-only mode:

  • Browsed as a user with an out-of-date availability cache.
  • Loaded an older revision without cached parse data.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley updated this revision to Diff 38484.May 30 2016, 3:46 PM
epriestley retitled this revision from to Stop two special cache writes in read-only mode.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad accepted this revision.May 30 2016, 5:09 PM
chad edited edge metadata.
This revision is now accepted and ready to land.May 30 2016, 5:09 PM
This revision was automatically updated to reflect the committed changes.