mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Makefile: reduce ect compression, skip cache
This commit is contained in:
parent
741dc6ed81
commit
bbe85b76e9
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue