added support for pluggable cache engines