aboutsummaryrefslogtreecommitdiffstats
path: root/config/general.yml-example
diff options
context:
space:
mode:
Diffstat (limited to 'config/general.yml-example')
-rw-r--r--config/general.yml-example9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/general.yml-example b/config/general.yml-example
index 729278a8d..c832111c7 100644
--- a/config/general.yml-example
+++ b/config/general.yml-example
@@ -94,3 +94,12 @@ RECAPTCHA_PRIVATE_KEY: 'x'
# existing process previously served a larger request, this won't
# show any consumption for the later request.
DEBUG_RECORD_MEMORY: false
+
+# Currently we default to using pdftk to compress PDFs. You can
+# optionally try Ghostscript, which should do a better job of
+# compression. Some versions of pdftk are buggy with respect to
+# compression, in which case Alaveteli doesn't recompress the PDFs at
+# all and logs a warning message "Unable to compress PDF"; which would
+# be another reason to try this setting.
+USE_GHOSTSCRIPT_COMPRESSION: true
+