Forum: Ruby on Rails fragment cache erorr - view 2 times

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1042dba6177fdc7b7fa1279215cd6a2e?d=identicon&s=25 Svetlana Vt (svetlana)
on 2011-08-26 17:10
(Received via mailing list)
I have rails 3.0.9 + nginx + memcached + dalli.

#production.rb
config.cache_store = :dalli_store, Memcache_servers, { :namespace =>
'koolinar', :expires_in => 1.day, :compress => true }

#app/view/test/test.html.erb
  <% cache do %>hello<% end %>

in browser i get
hello hello

Result is shown twice.

Hope you can help me
This topic is locked and can not be replied to.