Check-in [c3a30a6b80]
Not logged in
Overview

SHA1 Hash:c3a30a6b80e2157db5f3ae526db989367f412117
Date: 2009-03-31 17:33:05
User: drh
Comment:Add cache-control: no-cache to the server reply header. Ticket b465b3bc2ceef4446b2ae770242ed0968e4dbc68
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/cgi.c from [0db8ef4202] to [8c16621a50].

@@ -320,11 +320,11 @@
   }
 
   /* Content intended for logged in users should only be cached in
   ** the browser, not some shared location.
   */
-  fprintf(g.httpOut, "Cache-control: no-store\r\n");
+  fprintf(g.httpOut, "Cache-control: no-cache, no-store\r\n");
   fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType);
   if( strcmp(zContentType,"application/x-fossil")==0 ){
     cgi_combine_header_and_body();
     blob_compress(&cgiContent[0], &cgiContent[0]);
   }