cache busting
for faster load times, and seamless updates. because for some reason ServeDir can't do it correctly, and it tells the client "yeah hey nothing changed" even if something changed
This commit is contained in:
parent
9b190165ff
commit
5e6b84bed5
24 changed files with 580 additions and 203 deletions
10
rkgk.toml
10
rkgk.toml
|
@ -4,7 +4,15 @@
|
|||
|
||||
# List of Handlebars templates to render.
|
||||
render_templates = [
|
||||
{ template = "docs.hbs.html", from_dir = "docs", to_dir = "docs" }
|
||||
{ template = "fonts.hbs.css", to_file = "static/fonts.css" },
|
||||
|
||||
{ template = "index.hbs.html", to_file = "static/index.html" },
|
||||
{ template = "docs.hbs.html", from_dir = "docs", to_dir = "docs" },
|
||||
]
|
||||
|
||||
# List of JavaScript `import` root directories.
|
||||
import_roots = [
|
||||
{ name = "rkgk", path = "static" },
|
||||
]
|
||||
|
||||
[build.page_titles]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue