Page MenuHomePhabricator

Disable caching of remarkup previews
ClosedPublic

Authored by epriestley on Feb 20 2015, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 15, 10:47 AM
Unknown Object (File)
Tue, Apr 9, 8:54 PM
Unknown Object (File)
Sat, Mar 30, 6:56 PM
Unknown Object (File)
Tue, Mar 26, 2:30 AM
Unknown Object (File)
Sun, Mar 24, 11:00 PM
Unknown Object (File)
Sun, Mar 24, 10:52 PM
Unknown Object (File)
Sun, Mar 24, 10:10 PM
Unknown Object (File)
Thu, Mar 21, 10:28 PM
Subscribers

Details

Reviewers
btrahan
Commits
Restricted Diffusion Commit
rP59ae91a5ce84: Disable caching of remarkup previews
Summary

We currently cache previews, but the vast majority of previews are never rendered again (e.g., they're a preview of someone partway through typing a comment).

Especially when editing large documents (Legalpad, Phriction), this can bloat the markup cache with data that will never be read and won't get purged for 30 days.

In particular, most of the data on admin.phacility.com is currently 1,000 previews of legalpad documents as I made minor edits to them over the course of several hours.

This isn't a big concern, but it's a very easy fix.

Test Plan
  • Previewed a legalpad document, verified that cache rows were not written as I mashed the keyboard.
  • Saved the document, verified a new cache row was written.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Disable caching of remarkup previews.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Feb 20 2015, 4:14 PM
This revision was automatically updated to reflect the committed changes.