HTTP's Best-Kept Secret: Caching
Location: Pavilion 9 - 10 Level:
Did you know that nearly one-third of the HTTP specification, RFC 2616, is dedicated to caching? Or that the Cache constraint is so fundamental to the REST architectural style that it’s fully defined before “Resources”, “Hypertext”, or “The Uniform Interface” are even mentioned? This talk will show how you can start taking advantage of HTTP’s best-kept secret: caching.
We’ll start by tearing down all of the worst practices that have accumulated over the years and caused caching in HTTP to be perceived as a form of Voodoo. Once deprogrammed, you’ll learn how HTTP’s basic caching mechanisms really work, see how to take advantage of them in Rails, and learn about advanced techniques like “efficient validation”. From there, we’ll talk a bit about the different types of caches (client, shared, gateway) as well as specific cache implementations, like Varnish, Squid, and Rack::Cache. Finally, we’ll show how to think about cacheability as a fundamental aspect of resource design and why it’s beneficial to do so.
People planning to attend this session also want to see:
Ryan Tomayko has been writing about web architecture since 2003 and contributed to Rails core as early as 2005. He created Rack::Cache, is one of the core Sinatra hackers, and is a member of the Rack core team. Ryan works at Heroku in San Francisco helping to build the greatest web platform ever.
Comments on this page are now closed.