I found https://firebase.google.com/docs/hosting/full-config#hosting_priority_order really useful in understanding the order Firebase processes things, it’d be great if Netlify could provide something similar.
After reading https://www.netlify.com/docs/redirects/ I have questions like:
If you have rules in _redirects and in toml, what’s the order?
/foo /index.html 200 /foo /index.html 200!
What happens if /foo exists?
You could say the first rule matches, so it’s used, and since /foo exists, the static file is used.
Or you could say that /foo exists, so the first rule is ignored, so the second rule matches, rendering /index.html.
Language based redirects/rewrites (which are great btw!) seem to apply even if the static resource exists, even without ! after the status code, so I’m not sure of the order there.