リサイクル。
断片キャッシュ(Fragment caching)を次のようにファイルとして保存してたとする。
ActionController::Base.fragment_cache_store = ActionController::Caching::Fragments::FileStore.new("/path/to/cache/directory")
普通の/foo/show/somethingの断片キャッシュは/path/to/cache/directory/localhost.3000/foo/show/something.cacheに保存されるけど、routes.rbでトップページを次のように飛ばしてる場合はちょっと違う。
map.connect '', :controller => "foo", :action => 'show', :id => 'bar'
/path/to/cache/diretcory/localhost.3000/.cacheに保存される。
Sweeperとか使って、expire_fragmentsする場合、これを考慮しておかないとトップページだけキャッシュが更新されないとかなるので注意。