ビューの高価なフラグメントをキャッシュしようとしています。アプリケーションの他の部分には、キャッシュが機能しています。これはビューです(hamlで)
@users.each do
- cache user, expires_in: 60*60*8 do
%tr{id: "user_id_#{user.id}"}
%td= user.name
# lots of other simple calcs
-cache "user_#{user.id}_score", expires_in: 1.week do
- score = #expensive calculation
%td= score
しかし、プロダクションを見ると、キャッシュが見つかりません
Rails.cache.read('user_215_score')
私は何を間違っていますか?