The Vary header has long been a vital tool for website owners to make content cacheable even if it changes based on inputs other than the URL. The problem is this tool is typically either severely underused, usually limited to Accept-Encoding variation, or is used very badly, resulting in a complete destruction of the cache potential of the page.
Now the IETF is bringing forward a new standard, Key, which aims to provide a more powerful replacement for Vary. Andrew Betts examines the common misconceptions about Vary, the resulting common misconfigurations and how to fix them, advanced use cases for Vary that vastly increase the efficiency of content distribution, and the changes Key will bring about. Along the way, Andrew also considers whether Key actually fails to cater to some of the current use cases for Vary.
Andrew Betts is principal developer advocate at Fastly. Andrew’s area of expertise is emerging web technologies, particularly on mobile and tablet platforms. Previously, he was a PHP and JavaScript developer, web standards advocate, and founder of FT Labs, an emerging web technologies division of the Financial Times, where he and his team created the FT web app, one of the best examples of what can be achieved with HTML5.
For exhibition and sponsorship opportunities, email velocity@oreilly.com
For information on trade opportunities with O'Reilly conferences, email partners@oreilly.com
View a complete list of Velocity contacts
©2017, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • confreg@oreilly.com