zola/components
Hannu Hartikainen 36ec33f042
Change get_url(cachebust=true) to use a hash (#1032)
Cache-busting was previously done with a compile-time timestamp. Change
to the SHA-256 hash of the file to avoid refreshing unchanged files.

The implementation could be used to add a new global fn (say,
get_file_hash) for subresource integrity use, but that's for another
commit.

Fixes #519.

Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2020-05-23 11:46:50 +02:00
..
config Update syntect, using rust-onig with bindgen temporarily 2020-05-12 20:07:02 +02:00
errors Update syntect, using rust-onig with bindgen temporarily 2020-05-12 20:07:02 +02:00
front_matter WIP: add an 'updated' field to pages 2020-04-14 17:29:46 +05:30
imageproc Update image to 0.23 2020-02-10 20:48:52 +01:00
library WIP: add an 'updated' field to pages 2020-04-14 17:29:46 +05:30
link_checker Update syntect, using rust-onig with bindgen temporarily 2020-05-12 20:07:02 +02:00
rebuild Add lang, taxonomy and term to feed template 2020-04-14 17:29:51 +05:30
rendering Wrap highlight code blocks with <code> (#1026) 2020-05-18 09:41:56 +02:00
search Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
site Change get_url(cachebust=true) to use a hash (#1032) 2020-05-23 11:46:50 +02:00
templates Change get_url(cachebust=true) to use a hash (#1032) 2020-05-23 11:46:50 +02:00
utils Preserve timestamps when copying files (#974) (#983) 2020-04-04 11:05:24 +02:00