v0.0.2: add cache support