mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Remove "last deployed" date
Visitors can see that on post update dates; I can see that in builds.sr.ht. This results in not having to upload every page on a trivial change. Add the "-c" rsync flag to take advantage of that. Doing so should also result in longer-lived cached copies, with etags and last-modified headers.
This commit is contained in:
parent
2f960ca7ec
commit
e455703209
2 changed files with 2 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -13,8 +13,8 @@ GEMINI_RSYNC_DEST = $(USER):$(GEMINI_ROOT)
|
||||||
|
|
||||||
OUTPUT_DIR = public
|
OUTPUT_DIR = public
|
||||||
RSYNCFLAGS += -rlcv --zc=zstd --zl=6
|
RSYNCFLAGS += -rlcv --zc=zstd --zl=6
|
||||||
# include br, jxl, and gmi in skip-compress
|
# include br, jxl, and gmi in skip-compress; skip unchanged files.
|
||||||
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3
|
RSYNCFLAGS += --skip-compress=gz/br/zst/png/webp/jpg/avif/jxl/mp4/mkv/webm/opus/mp3 -c
|
||||||
# compression gets slow for extreme levels like the old "70109"
|
# compression gets slow for extreme levels like the old "70109"
|
||||||
ECT_LEVEL=9
|
ECT_LEVEL=9
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,4 @@
|
||||||
</span>
|
</span>
|
||||||
<a rel="alternate" href="http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion{{ .RelPermalink }}">Tor</a>
|
<a rel="alternate" href="http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion{{ .RelPermalink }}">Tor</a>
|
||||||
</p>
|
</p>
|
||||||
{{if .GitInfo -}}
|
|
||||||
<p>Site last deployed on <time datetime="{{ dateFormat "2006-01-02 15:04:05Z07:00" now }}">{{now.Format "2006-01-02 15:04:05 -0700" }}</time></p>
|
|
||||||
{{- end}}
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue