add cache_dir and static