These rules apply to
type: static services only. A web service’s routing is its own
application’s business.The three sources
The console tabs are the only source that rebuilds nothing. A site’s compiled rules travel
inside the pointer the CDN reads, so saving rewrites one record, the same single write that
performs a rollback. Nothing is rebuilt or re-uploaded, and no cache
is purged.
Which rule wins
Console rules win. They compile last, so where two rules cover the same path, the one set in slipway applies. Both tabs show your repo’s rules underneath your own, read-only, so you can see which rule is shadowing which.Redirects list console rules first and headers list them last. The outcome is the
same in both cases: the edge takes the first matching redirect and the last matching
header.
Redirects and rewrites
A redirect sends the browser somewhere else. A rewrite, status200, serves a different
file without changing the URL.
slipway.yaml
status, slipway uses 301.
Response headers
One row per header: a path to match, a header name and its value.slipway.yaml
Content-Length, Content-Encoding, Transfer-Encoding,
Connection and Host. The edge owns them, and overriding them produces a response that
lies about itself.
SPA routing
For a single-page app, setnotFound so unmatched paths serve the app shell:
slipway.yaml