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 29, 3:53 PM
Unknown Object (File)
Wed, Apr 24, 11:48 PM
Unknown Object (File)
Fri, Apr 19, 2:15 AM
Unknown Object (File)
Mon, Apr 15, 10:47 AM
Unknown Object (File)
Tue, Apr 9, 8:54 PM
Unknown Object (File)
Mar 30 2024, 6:56 PM
Unknown Object (File)
Mar 26 2024, 2:30 AM
Unknown Object (File)
Mar 24 2024, 11:00 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
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.