Added caddy caching

This commit is contained in:
2025-01-24 17:50:39 +00:00
parent 825991507b
commit 6f35c5aea4

View File

@@ -1,12 +1,19 @@
{
admin off
order cache before rewrite
}
(site) {
@landing {
path / /contact* /about*
cache {
ttl 86400s
}
}
handle /_app/* {
cache {
ttl 86400s
}
reverse_proxy site:3000
}
handle @landing {
@@ -18,6 +25,9 @@
}
}
handle /repo* {
cache {
ttl 86400s
}
uri strip_prefix /repo
reverse_proxy repo-placeholder:80
}