Rails cache with locale在Rails视图中自动添加当前应用程序区域设置(I18n.locale)作为缓存键的一部分。 Original: https://github.com/igorkasyanchuk/cache_with_locale Rails cache with locale Automatically adding current application locale (I18n.locale) as a part of caching key in Rails views. Problem & Solution For example you have: Rails app with different locales you want to add fragment caching in views When you have a different locales… Continue Reading [Reproduce]Rails cache with locale automatically adding current application locale (I18n.locale) as a part of caching key in Rails views.