blog: add more comment on cache version

Peter Cai 3 years ago
parent 8ba086a9ec
commit 2bd9b169f3
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F

@ -115,6 +115,11 @@ impl Post {
// This should be bumped each time the parsing / compiling
// logic of Markdown changes, and each time the Markdown
// library updates. Updaing this value invalidates all
// existing cache and they will be recompiled when someone
// visits.
const CACHE_VERSION: &'static str = "0001";
// Cached version of rendered blog content HTMLs