Revert "Added caddy caching"

This reverts commit 6f35c5aea4.
This commit is contained in:
2025-01-24 18:01:19 +00:00
parent 6d6eff0b88
commit 1e4d5e2335

View File

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