tag:railsillustrated.com,2009:/blazing-fast-sinatra-with-memcached/feedComments on „Blazing Fast Speeds with Sinatra and Memcached“ Rails Ill.railsillustrated.com/blazing-fast-sinatra-with-memcached.html2010-04-09T22:59:30Ztag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12404431042009-04-22T23:31:44ZPhil Wilson said on April 22 2009
am I missing a trick or is there no such class as Sinatra::Event ? Phil Wilsonhttp://philwilson.org/blog/tag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12405444092009-04-24T03:40:09Zerik said on April 24 2009
**Phil** The cache.rb file contains modifications for the Sinatra::Event. When `CacheableEvent` is included it modifies the way Sinatra stores the blocks that respond to the actions. eriktag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12415716302009-05-06T01:00:30ZAlex said on May 6 2009
About the Sinatra::Event - I'm running into this error and not really sure how to get past it:
./cache.rb:30:in `alias_method': undefined method `invoke' for class `Sinatra::Event' (NameError)
Any ideas? Alextag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12484860142009-07-25T01:40:14ZKristoffer said on July 25 2009
I'm having the same issue as erik. Kristoffertag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12591337172009-11-25T07:21:57Zxdanger said on November 25 2009
I'm having the same issue as erik, TOO xdangertag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12639380472010-01-19T21:54:07ZAndoriyu said on January 19 2010
Guess what? I have some issue :) Andoriyutag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12696316462010-03-26T19:27:26ZBen Tucker said on March 26 2010
I updated this concept to work with Sinatra 0.9.6:
http://gist.github.com/345277 Ben Tuckerhttp://btucker.nettag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12708423522010-04-09T19:45:52ZBen Yip said on April 9 2010
I'm new to Ruby and Sinatra (down with you, Django!) and I was wondering if you or anyone else could explain the advantages of using this over Rack::Cache configured to make use of memcached as its store.
Does this just allow for a finer granularity of control over what gets cached instead of a being just a generic HTTP cache? Ben Yiphttp://www.benryyip.com/tag:railsillustrated.com,2009-03-03:/blazing-fast-sinatra-with-memcached/comments/12708539702010-04-09T22:59:30ZBen Yip said on April 9 2010
After reading a few articles referenced Tomayko, I realize how off I was in understanding caching.
Please correct me if I'm wrong, but Rack::Cache is pure HTTP Caching, as in, it relies solely on HTTP headers.
This is application level caching where, regardless of the HTTP header, if there's a cache hit, bam, you serve whatever's in your cache.
That sound about right? Ben Yiphttp://benryyip.com