add img-opt cache, restructure path API, edit readme.md