Down the caching‑hole: adventures in 'HTTP caching and Faraday' land
22-Jul-2022 855
Learn about HTTP caches, how Faraday middleware work, and how to use them to automagically start caching API calls.I was beginning to get very tired, sitting by my computer on the bank, manually caching API responses. Once or twice I peeped into RFC 7234, but it had no pictures or conversations in it, “and what is the use of a document”, I thought, “without pictures or conversations?”But for real, everything started with a client project, StackBlitz. It’s a browser-powered IDE that makes heavy use of the GitHub API (with some help from the Octokit gem).
Down the caching‑hole: adventures in 'HTTP caching and Faraday' land #ruby #rubydeveloper #rubyonrails #caching‑hole: #adventures in #'HTTP #caching #Faraday' land https://rubyonrails.ba/link/down-the-caching-hole-adventures-in-http-caching-and-faraday-land