Added support for database cache storage