add --cache param, support Offline Web Application Cache and Local storage.