Add option --cached to enable caching