<cache>
<memorysize></memorysize> <!-- number of bytes used for buffering streams in memory
<buffermode></buffermode> <!-- Choose what to buffer:
<readfactor></readfactor>
</cache>
That is the correct syntax for Krypton, but you need the <advancedsettings> / </advancedsettings> tags around the block.