Differences From:
File
src/cgi.c
part of check-in
[5ffc720194]
- Use "no-store" in place of "private" as the cache-control mode.
Ticket b465b3bc2ceef4446b2ae770242ed0968e4dbc68.
by
drh on
2009-03-29 22:24:57.
[view]
To:
File
src/cgi.c
part of check-in
[c3a30a6b80]
- Add cache-control: no-cache to the server reply header.
Ticket b465b3bc2ceef4446b2ae770242ed0968e4dbc68
by
drh on
2009-03-31 17:33:05.
[view]
@@ -321,9 +321,9 @@
/* 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]);