Added bool parameter for searching datadb for cached values or not