From 96140b1d51e65a0e25ca36db025270b417bcd927 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 18 Aug 2020 13:13:03 +0100 Subject: [PATCH] Disable parser cache by default to avoid issues because we can't invalidate said cache --- peppermint.guiconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peppermint.guiconfig.json b/peppermint.guiconfig.json index 9fa18c9..b6873ef 100644 --- a/peppermint.guiconfig.json +++ b/peppermint.guiconfig.json @@ -21,7 +21,7 @@ "anonedits": { "type": "checkbox", "description": "Whether users who aren't logged in are allowed to edit your wiki.", "default": false }, "maxpagesize": { "type": "number", "description": "The maximum page size in characters.", "default": 135000 }, "parser": { "type": "text", "description": "The parser to use when rendering pages. Defaults to an extended version of parsedown (http://parsedown.org/)", "default": "parsedown" }, - "parser_cache": { "type": "checkbox", "description": "Whether parser output should be cached to speed things up. The cache directory is ._cache in the data directory - delete it if you experience issues (unlikely).", "default": true }, + "parser_cache": { "type": "checkbox", "description": "Whether parser output should be cached to speed things up. The cache directory is ._cache in the data directory - delete it if you experience issues (unlikely).", "default": false }, "parser_cache_min_size": { "type": "number", "description": "The minimum size a source string must be (in bytes) before it's considered eligible for caching.", "default": 1024 }, "parser_ext_renderers_enabled": { "type": "checkbox", "description": "Whether to enable external diagram renderer support, which is part of the parsedown parser. See the parser_ext_renderers setting below for more information.", "default": true }, "parser_ext_renderers": { "type": "parserext", "description": "Used by the parsedown parser as an object mapping fenced code block languages to their respective external renderers. Should be in the form language_codeexternal renderer definition. See the default for examples on how to define an external renderer. Warning: On Windows, the enforcement of strict time limits is not possible. Beware of DoS attacks!", "default": {