Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch etags-cache-control Excluding Merge-Ins
This is equivalent to a diff from 203d82d8 to f2492f3b
2018-02-25
| ||
19:09 | Add support for ETags cache control. ... (check-in: 7383450d user: drh tags: trunk) | |
19:09 | Add ETags cache control to the /tarball, /zip, and /sqlar pages. ... (Closed-Leaf check-in: f2492f3b user: drh tags: etags-cache-control) | |
2018-02-24
| ||
20:14 | Redesign the ETags mechanism to be simpler and safer. ... (check-in: ae660cd6 user: drh tags: etags-cache-control) | |
03:49 | Add support for the ETag: and If-None-Match: headers for improved cache control. Currently this only works for /uv but the mechanism is reasonably general and can be extended to other pages. ... (check-in: 787896c5 user: drh tags: etags) | |
00:39 | First cut at supporting ETags: and If-None-Match: for cache control. ... (check-in: 94c0b8ec user: drh tags: etags-cache-control) | |
2018-02-23
| ||
21:29 | Make default project name "<unnamed>" in the output of the "extras" and "changes" commands. ... (check-in: 203d82d8 user: drh tags: trunk) | |
21:24 | Remove the mkdownload.html file from the documentation folder, since it is no longer used. Remove mention of OpenBSD from installation instructions, since precompiled binaries for that platform are no longer provided. ... (check-in: c44d9e4d user: drh tags: trunk) | |
Changes to src/cgi.c.
︙ | |||
226 227 228 229 230 231 232 | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | }else{ blob_appendf(&extraHeader, "Set-Cookie: %s=%t; Path=%s; HttpOnly;%s Version=1\r\n", zName, zValue, zPath, zSecure); } } |
︙ | |||
299 300 301 302 303 304 305 | 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | - - - - - - - - - - - + + + + + + + + + + | void cgi_reply(void){ int total_size; if( iReplyStatus<=0 ){ iReplyStatus = 200; zReplyStatus = "OK"; } |
︙ | |||
341 342 343 344 345 346 347 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | - - - - - - - - - - - - - - | ** deliberate inclusion of external resources, such as JavaScript syntax ** highlighter scripts. ** ** These headers are probably best added by the web server hosting fossil as ** a CGI script. */ |
︙ |
Changes to src/doc.c.
︙ | |||
637 638 639 640 641 642 643 | 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 | - - + + + + + - - - + + + | goto doc_not_found; } }else{ goto doc_not_found; } } if( isUV ){ |
︙ | |||
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 | 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 | + - | ** the login page. It is designed for use in the upper left-hand corner ** of the header. */ void logo_page(void){ Blob logo; char *zMime; etag_check(ETAG_CONFIG, 0); zMime = db_get("logo-mimetype", "image/gif"); blob_zero(&logo); db_blob(&logo, "SELECT value FROM config WHERE name='logo-image'"); if( blob_size(&logo)==0 ){ blob_init(&logo, (char*)aLogo, sizeof(aLogo)); } cgi_set_content_type(zMime); cgi_set_content(&logo); |
︙ | |||
871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 | 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 | + - | ** Return the background image. If no background image is defined, a ** built-in 16x16 pixel white GIF is returned. */ void background_page(void){ Blob bgimg; char *zMime; etag_check(ETAG_CONFIG, 0); zMime = db_get("background-mimetype", "image/gif"); blob_zero(&bgimg); db_blob(&bgimg, "SELECT value FROM config WHERE name='background-image'"); if( blob_size(&bgimg)==0 ){ blob_init(&bgimg, (char*)aBackground, sizeof(aBackground)); } cgi_set_content_type(zMime); cgi_set_content(&bgimg); |
︙ |
Added src/etag.c.