diff --git a/notebook/nbconvert/handlers.py b/notebook/nbconvert/handlers.py index 6543dc11ac..bb26664aa7 100644 --- a/notebook/nbconvert/handlers.py +++ b/notebook/nbconvert/handlers.py @@ -40,6 +40,7 @@ def respond_zip(handler, name, output, resources): zip_filename = os.path.splitext(name)[0] + '.zip' handler.set_attachment_header(zip_filename) handler.set_header('Content-Type', 'application/zip') + handler.set_header('Cache-Control', 'no-store, no-cache, must-revalidate, max-age=0') # Prepare the zip file buffer = io.BytesIO()