Forum: Ruby on Rails Fragment Caching - happening twice

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
raghus (Guest)
on 2007-06-01 08:01
(Received via mailing list)
I am using fragment caching - the cache gets stored under RAILS_ROOT/
tmp/cache/ but if I go to (no www)
then a *second* cache gets stored at RAILS_ROOT/tmp/cache/ -
from this point on the cache is hit but I end up with 2X the DB hits I
really need. How can I avoid this?

Also where can I configure the fragment cache location - I was
thinking of putting it under RAILS_ROOT/public

This topic is locked and can not be replied to.