Did you know that Netlify allows users to set redirection rules and response headers for their sites? We don’t only redirect requests to places you point to, our CDN can act as a proxy for external requests for all sites on Netlify.
Although setting those rules in individual files seems straight forward, it can be hard to know when those rules don’t work and why. Those rules are applied every time you deploy on Netlify, which means that you don’t know if they really work until you put them in production. For a long time, we’ve wanted to give people tools to validate those rules to be able to deploy them with confidence. That’s why we built the Netlify Playground.
Netlify Playground is a single page application where people can test configuration rules for their sites. For now, it only supports redirect rules, but we’re planning on extending its features to evaluate response headers and other deploy contexts. We were inspired by Rust’s playground when we built this new application, and we use the same text editor for our playground.
We’ve also decided to open source this application. Feel free to leave us feedback on GitHub and dive into the code if your interested in seen how we use Elm.