Welcome to the Fastly solutions library. Here you will find a vast array of template code and example solutions that you can use and adapt to your use cases.
A huge library of useful code samples curated from the best of the ideas our customers have shared with us.
For some of the most common, most well loved Fastly use cases, our tutorials take you through the implementation step by step.
Want a fully formed foundation for your project? Try a starter kit, built for a variety of use cases.
See sample applications running through Fastly and experience the benefits of our edge cloud platform in action.
Create an API endpoint for fetching GeoIP data for the requesting browser.
Receive a request for one path but request a different path from origin, without a redirect.
Read individual cookies, set new cookies in response.
Limit the rate at which users can enter your website.
Use dictionaries to handle redirected URL mappings at the edge.
Try out multiple variations of a page or a feature of your website.