fix svg optimization, add clear cache task