Introduction
Sometimes you want your web server to respond differently based on the beginning part of a website address. Prefix match lets you do this by checking if a URL starts with a certain path and then applying special rules for it.
When you want to serve different content for URLs starting with /images versus other URLs.
When you want to redirect all URLs starting with /blog to a new location.
When you want to apply security rules only to URLs starting with /admin.
When you want to cache all requests starting with /static differently.
When you want to proxy requests starting with /api to a backend server.