Explore how we can make Rails APIs fast and efficient by using Conditional GET and other Rack-based strategies. Conditional GET is part of the HTTP protocol, rarely used, and can make quite a difference in API performance.
I'll go over implementation, but we'll also take a dive into the Rails source code to better understand how this feature works. We'll also discuss other Rack-based strategies to speed up API calls. With Conditional GET and some other Rack middleware, we can arrange it so certain API calls never even hit our Rails app. Neat!