I'm new to caching, but I've got memcached working with rails and I'm using the Dalli gem.
In the rails console, i'm able to cache an object and then read it back out no problem
Rails.cache.write("unique_posts",Post.new.get_uniques)
posts=Rails.cache.fetch('unique_posts')
How do i set the refresh rate/expiring to the Rails.cache.write command?