Refactor cache.clear() and use cache server directly instead of pipeline.
Remove unused import.
Release v0.4.1.