Err the Blog Atom Feed Icon
Err the Blog
Rubyisms and Railities
  • “Kickin Ass w/ Cache-Fu”
    – Chris on May 21, 2007

    Between all the post-punk marching bands, free booze, and falls off fire escapes, I somehow managed to give a presentation on memcached at RailsConf 2007.

    I’ve got two versions of my slides available: with notes and without notes.

    kickin' ass

    Nick Sieger has an excellent writeup of the talk, as do Rob Sanheim and John Nunemaker. Their collective blog entries really contain more information than my slides.

    Grab cache_fu and follow along:

    $ svn co svn://errtheblog.com/svn/plugins/cache_fu

    Patches are welcome and should be directed towards Lighthouse.

    See you guys next year.

    Update: Don’t forget to join the mailing list if all this stuff interests you.

  • Dave Snider, 20 minutes later:

    IM from PJ at 4am…

    “Chris just fell off a fire escape and fucked up his face” /signs off.

    Well, I hearby pass my drunkard crown to you. Even I’ve never done anything that bad.

  • Seth Thomas Rasmussen, about 1 hour later:

    Good times. Turns out that marching band is from San Francisco.

  • Richie Vos, about 9 hours later:

    Good job on this talk. Was the best of the conference IMO, a lot of info and not dumbed down.

  • Moofius, about 10 hours later:

    Err, that slide kicked ass =)

    Now I have the knowledge to save my servers from a future pageview raid :P

  • Dr Nic, 1 day later:

    http://www.flickr.com/photos/ozmm/507284452/ – nice work my friend! :)

    Awesome presentation, you are even better live than on blog.

  • Manik juneja, 8 days later:

    Easily one of the best sessions of the conference. I agree with Dr. Nic, you are definitely much better live than on the blog.

  • craig t mackenzie, 8 days later:

    dude i loved your session.

  • Matt, 11 days later:

    Is there an audio recording of this talk anywhere? If not, can someone make sure to record it next time? Would be great to have for those who couldn’t make it.

  • Rene A., 26 days later:

    How do I get started with cache_fu? Your presentation was quite nice – any hints for a newbie? (Steps, Guide, ...)

  • Timur Vafun, 6 months later:

    Hi,

    I’ev create path for cache_fu alowed add “after cache” hook. Like
    caches_action :page => { :after => Proc.new { |c| c.logger.info('After acache') }
    

    http://pastie.caboo.se/private/whd5s2bnchnvvq2w7f1yq

    Thnaks, Timur

  • corny, 6 months later:

    It would be nice if there was a method to expire the cache on a custom finder

    eg. when i call: a = MyObj.caches(:my_finder, :withs => [1, {:include => [:sub_obj1 => [:subsubobj1, :subsubobj2]]}])

    I want to be able to: MyObj.delete_caches(:my_finder, :withs => [1, {:include => [:sub_obj1 => [:subsubobj1, :subsubobj2]]}])

    but instead i am hardcoding: MyObj.expire_cache(“my_finder:1includesubobj1subsubobj1subsubobj2”)

  • Bob, 9 months later:

    Damn dude, it would be nice if you call this acts_as_cached 2.0 or something. I searched all over the freaking place to find out the difference between the 2 plugins (cache_fu & acts_as_cached) and finally stumbled onto a page that clarified it for me, argh, wasting my time for all the wrong reason.

  • waste, 10 months later:

    es

  • Si, 11 months later:

    Just in case people are wondering, find cache_fu at github:”http://github.com/defunkt/cache_fu/tree/master”

  • Si, 11 months later:

    Damn… I always get that textile markup mixed…

    Work please brain.

    link here

  • andy, about 1 year later:

    can you add method “replace_cache”

  • paki, about 1 year later:

    Love it man. Have been toying with so many different plugins. Cache_fu sure does it all and makes it all so simple.

    Thanks a million. Wonder if I could leave a ‘tip’ to thank you for such excellent work.

  • Seventeen people have commented.
    Chime in.
    Sorry, no more comments :(
This is Err, the weblog of PJ Hyett and Chris Wanstrath.
All original content copyright ©2006-2008 the aforementioned.