Chris,

1. If you are running rails 2.1 && memcached then you can do this in
fragment caching:

<% cache(key, :expires_in => 5.minutes) do %>
  hello, world!
<% end %>

- Gautam

On Dec 29, 7:18 pm, sigma <christoph.thom...@gmail.com> wrote:
> Hi all
>
> Is it posible do have a expires_in with fragment-caching? Does this
> work with memcached?
>
> Thank you for your aswers!
>
> Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to