Updated cache settings to cache in the DB