cache: Added ability to configure backend's cache