1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

Makefile: reduce ect compression, skip cache

This commit is contained in:
Rohan Kumar 2022-03-28 14:56:49 -07:00
parent 741dc6ed81
commit bbe85b76e9
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -3,7 +3,7 @@ DEVSERVER_URL="http://localhost:1313/"
DOMAIN = seirdy.one
HUGO_BASEURL = "https://$(DOMAIN)/"
HUGO_FLAGS += --gc --minify
HUGO_FLAGS += --gc --minify --ignoreCache
USER = deploy@$(DOMAIN)
WWW_ROOT = /var/www/$(DOMAIN)
GEMINI_ROOT = /srv/gemini/$(DOMAIN)
@ -15,8 +15,8 @@ OUTPUT_DIR = public
RSYNCFLAGS += -rlcv --zc=zstd --zl=6
# include br, jxl, and gmi in skip-compress
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3
# compression has dimishing returns after this point
ECT_LEVEL=70109
# compression gets slow for extreme levels like the old "70109"
ECT_LEVEL=9
.PHONY: hugo
hugo: clean