Revalidating stale content and getting 304 from origin
Allow conditional GET requests to origin with 304 response, even if ‘outer’ request from browser is not conditional.
Try out powerful solutions on Fastly’s edge with step-by-step tutorials and ready-to-deploy code.
Learn the ins and outs of popular solution patterns, then create, customize, and deploy the solution to your Fastly configuration.
Solve problems faster with pre-built code blocks that were developed by Fastly’s experts. Copy the code, customize it to meet your needs, and deploy it to your configuration.
All code provided through Build on Fastly is provided under both the BSD and MIT open source licenses.
Help us make this resource more useful for the entire Fastly community. Email your questions, requests, and big ideas to email@example.com — or reach out and let us know what you’re working on.