Page MenuHomePhabricator

Disable caching of remarkup previews
ClosedPublic

Authored by epriestley on Feb 20 2015, 2:47 PM.
Tags
None
Referenced Files
F14063694: D11832.diff
Mon, Nov 18, 7:47 PM
F14051245: D11832.diff
Thu, Nov 14, 11:10 PM
F14037711: D11832.diff
Sun, Nov 10, 6:30 PM
F14025133: D11832.diff
Thu, Nov 7, 2:37 PM
F14009184: D11832.id28520.diff
Wed, Oct 30, 12:02 PM
F14004264: D11832.diff
Sat, Oct 26, 5:37 PM
F13968099: D11832.id.diff
Oct 16 2024, 6:35 PM
Unknown Object (File)
Oct 11 2024, 6:09 AM
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
Branch
previewcache
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4579
Build 4593: [Placeholder Plan] Wait for 30 Seconds

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.