Last change
on this file since 25601 was
25601,
checked in by Jim Ursetto, 9 years ago
|
chickadee 0.9.11: Improve response time & Firefox rendering with <script> at end; fix TOC flash
Move <script>s to end of HTML, improving responsiveness, avoiding starting mid-page
in Firefox, and correcting flash of unhidden TOC. Introduce js/no-js class into
<html> a la Modernizr, though we do it with a one-line inline script.
|
File size:
876 bytes
|
Line | |
---|
1 | (use chickadee spiffy uri-common) |
---|
2 | (define uri uri-reference) |
---|
3 | |
---|
4 | (root-path "./root") |
---|
5 | (debug-log (current-error-port)) |
---|
6 | (access-log "access.log") |
---|
7 | (error-log "error.log") |
---|
8 | (server-port 8388) |
---|
9 | (max-connections 8) |
---|
10 | |
---|
11 | (ajax-log #f) ;; Slow; not recommended for production. |
---|
12 | (cdoc-uri (uri "/cdoc")) |
---|
13 | (chickadee-uri (uri "/doc")) |
---|
14 | (incremental-search-uri (uri "/cdoc/ajax/prefix")) |
---|
15 | (chickadee-css-files (list (uri "/cdoc/chickadee.css?16"))) |
---|
16 | (chickadee-js-files (list (uri "http://code.jquery.com/jquery-1.4.2.min.js") |
---|
17 | (uri "/cdoc/jquery.metadata.2.1.min.js") |
---|
18 | (uri "/cdoc/chickadee-jquery.js?6"))) |
---|
19 | |
---|
20 | (maximum-match-results 250) |
---|
21 | (maximum-match-signatures 100) |
---|
22 | (incremental-search 15) |
---|
23 | (incremental-search-delay 50) |
---|
24 | (cache-nodes-for 600) |
---|
25 | (cache-static-content-for 1800) |
---|
26 | |
---|
27 | (last-modified (current-seconds)) |
---|
28 | |
---|
29 | ;;; start |
---|
30 | |
---|
31 | (chickadee-start-server) |
---|
Note: See
TracBrowser
for help on using the repository browser.