Welcome! » Log In » Create A New Profile

What does Serializer Cache do and when do I need it?

Posted by Slava 
What does Serializer Cache do and when do I need it?
January 26, 2016 04:32AM

What is serializing? What information is being cached? What happens when I turn serializer cache off? Please explain this functionality.

Re: What does Serializer Cache do and when do I need it?
January 26, 2016 01:09PM

HTML Purifier does some decently complicated work in order to compute the internal data structures which it actually uses to do purification. The serializer cache caches this work. You can disable it %Cache.DefinitionImpl set to null but it's not recommended; you will DEFINITELY see performance loss.

Author:
Your Email:

Subject:

HTML input is enabled. Make sure you escape all HTML and angled brackets with < and >.

Auto-paragraphing is enabled. Double newlines will be converted to paragraphs; for single newlines, use the pre tag.

Allowed tags: a, abbr, acronym, b, blockquote, caption, cite, code, dd, del, dfn, div, dl, dt, em, i, ins, kbd, li, ol, p, pre, s, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var.

For inputting literal code such as HTML and PHP for display, use CDATA tags to auto-escape your angled brackets, and pre to preserve newlines:

<pre><![CDATA[
Place code here
]]></pre>

Power users, you can hide this notice with:

.htmlpurifier-help {display:none;}

Message: