We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e04138d + 74618f5 commit 5e4772dCopy full SHA for 5e4772d
site/README.md
@@ -25,8 +25,13 @@ You can build the website in multiple ways:
25
26
# Build website binary
27
$ cd ../..
28
+ $ cargo clean
29
$ cargo build --bin site --release
30
```
31
+
32
+ A clean build with `cargo clean` is needed only if you compiled the site previously,
33
+ as static files are embedded into the binary in release mode.
34
35
The `--release` flag is on purpose, reducing startup time 15x from roughly 15
36
seconds to 1; this is on the production database and smaller data sets are
37
likely to load considerably faster.
0 commit comments