Easily cache files to indexDB