Skip to content

[#481] Store scrubbed posts in Cachex

rinpatch requested to merge rinpatch/pleroma:fix/scrubber-cache into develop

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 by rinpatch

Merge request reports