Issue #1404 New write cache was implemented (without tests).