Accelerate your Rails Site with Automatic Generation-based Action Caching

Ruby, Web Applications
Location: Meeting Room J1/J4
Average rating: ****.
(4.00, 1 rating)

Rails caching is difficult and complicated. It takes some work to set it up, but it’s even harder to make sure you always clear the right cache when data gets changed. This session demonstrates how to build an automatic generation-based action caching mechanism built on memcached that can handle edits from any angle while guaranteeing that users never see stale data.

Come see how to implement automatic caching, how to deal with tricky issues like event recording, and how to easily partition when you need a hierarchy of caches for your own users vs. different customers. As a bonus, you’ll see how to asynchronously pre-cache key pages upon user logon.

Attendees should have strong Rails experience and should understand the various types of built-in caching. Knowledge of memcached would also be helpful.

Photo of Rod Cope

Rod Cope

OpenLogic, Inc.

Rod Cope is the CTO and Founder of OpenLogic, Inc. He is a Sun Certified Java Architect with 25 years of software development experience. He has developed Rails applications, J2EE applications, Swing GUIs, small device code, and nearly everything in between. For the last few years, he has been working on OpenLogic Exchange, an open source management platform that includes a certified library of over 500 open source packages for enterprise developers. In particular, Rod has used Ruby, Rails, Groovy, JRuby, JBoss, Hibernate, AspectJ, MySQL, PostgreSQL, Ant, and many other Open Source projects extensively in commercial applications.

Rod has spoken on Groovy, JRuby, Rails, Hibernate, and other topics at the O’Reilly Open Source Convention, JavaOne, the No Fluff, Just Stuff Java Symposium series, and Java User Groups around the country. He holds both Bachelor’s and Master’s degrees in Software Engineering from the University of Louisville.

  • Intel
  • Microsoft
  • Google
  • Sun Microsystems
  • Facebook
  • Gear6
  • Kaltura
  • Liferay
  • MindTouch
  • Novell, Inc.
  • Open Invention Network
  • Rackspace Cloud
  • Schooner Information Technology
  • Silicon Mechanics
  • Symbian Foundation
  • Twilio
  • WSO2
  • Yabarana Corporation

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@

Press and Media

For media-related inquiries, contact Maureen Jennings at

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON newsletter (login required)

Contact Us

View a complete list of OSCON contacts