Fossil SCM
Use "no-store" in place of "private" as the cache-control mode. Ticket [b465b3bc2ceef4446b2ae770242ed0968e4dbc68].
Commit
5ffc720194fc76a3c913339af5228c692b666791
Parent
522104c2cd24448…
1 file changed
+1
-1
+1
-1
| --- src/cgi.c | ||
| +++ src/cgi.c | ||
| @@ -320,11 +320,11 @@ | ||
| 320 | 320 | } |
| 321 | 321 | |
| 322 | 322 | /* Content intended for logged in users should only be cached in |
| 323 | 323 | ** the browser, not some shared location. |
| 324 | 324 | */ |
| 325 | - fprintf(g.httpOut, "Cache-control: private\r\n"); | |
| 325 | + fprintf(g.httpOut, "Cache-control: no-store\r\n"); | |
| 326 | 326 | fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType); |
| 327 | 327 | if( strcmp(zContentType,"application/x-fossil")==0 ){ |
| 328 | 328 | cgi_combine_header_and_body(); |
| 329 | 329 | blob_compress(&cgiContent[0], &cgiContent[0]); |
| 330 | 330 | } |
| 331 | 331 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -320,11 +320,11 @@ | |
| 320 | } |
| 321 | |
| 322 | /* Content intended for logged in users should only be cached in |
| 323 | ** the browser, not some shared location. |
| 324 | */ |
| 325 | fprintf(g.httpOut, "Cache-control: private\r\n"); |
| 326 | fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType); |
| 327 | if( strcmp(zContentType,"application/x-fossil")==0 ){ |
| 328 | cgi_combine_header_and_body(); |
| 329 | blob_compress(&cgiContent[0], &cgiContent[0]); |
| 330 | } |
| 331 |
| --- src/cgi.c | |
| +++ src/cgi.c | |
| @@ -320,11 +320,11 @@ | |
| 320 | } |
| 321 | |
| 322 | /* Content intended for logged in users should only be cached in |
| 323 | ** the browser, not some shared location. |
| 324 | */ |
| 325 | fprintf(g.httpOut, "Cache-control: no-store\r\n"); |
| 326 | fprintf(g.httpOut, "Content-Type: %s; charset=utf-8\r\n", zContentType); |
| 327 | if( strcmp(zContentType,"application/x-fossil")==0 ){ |
| 328 | cgi_combine_header_and_body(); |
| 329 | blob_compress(&cgiContent[0], &cgiContent[0]); |
| 330 | } |
| 331 |