~/talk

From Zero to API Cache w Grape & MongoDB in 10 minutes

Talkat GoRuCo 2012 · on Saturday, 2012-06-23· [ruby, web-platform]
slides:none on file

Shows a concrete recipe and a working open‑source gem called Garner that plugs into Grape & MongoDB (Mongoid) to add server‑side caching, ETags and 304 responses. Implements binding-based cache keys (route, model class, instance, role partitions), supports invalidate-by-class/instance, and answers If-None-Match without executing expensive rendering or DB work. Claims production use at Art.sy with large CPU savings and a zero-to-cache demo that fits in 10 minutes.

AI-written summary · about

  1. 0:00Intro
  2. 1:26Grape
  3. 2:48LastModified
  4. 3:53NotModified
  5. 5:02Generic Cache Key
  6. 6:21Rolebased Access
  7. 7:11Invalidation
  8. 7:44If Not Match
  9. 8:41Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.