Bump HTML cache key version

This commit is contained in:
Drew DeVault 2020-08-03 19:05:46 -04:00
parent 40a8c4c553
commit 2125de418f
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def content(wiki, path, is_root=False, **kwargs):
blob_id = tree["id"]
blob_name = tree["name"]
cachekey = f"{wiki.repo.name}:{blob_id}"
html_cachekey = f"man.sr.ht:content:{cachekey}:v{SRHT_MARKDOWN_VERSION}:v2"
html_cachekey = f"man.sr.ht:content:{cachekey}:v{SRHT_MARKDOWN_VERSION}:v3"
frontmatter_cachekey = f"man.sr.ht:frontmatter:{cachekey}"
html = get_cache(html_cachekey)
if not html: