Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 89
    • Merge requests 89
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !610

[#481] Store scrubbed posts in Cachex

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged rinpatch requested to merge rinpatch/pleroma:fix/scrubber-cache into develop Dec 30, 2018
  • Overview 6
  • Commits 18
  • Pipelines 7
  • Changes 6

This patch solves the problem of HTML sanitizer being too slow. After HTML is generated it is stored in a separate Cachex storage with 2500 entries limit.

Testing it with 4 MB text it was able to parse it in 14 minutes with 50% load on i7-6700, requiring 1.4 GB of ram. After that it was able to display it instantly

No more carrots?

Closes #481 (closed)

Edited Dec 30, 2018 by rinpatch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/scrubber-cache