diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb index a119246fd..d35ed07ed 100644 --- a/app/helpers/accounts_helper.rb +++ b/app/helpers/accounts_helper.rb @@ -36,7 +36,7 @@ module AccountsHelper end [ - family.build_cache_key("account_sidebar_tabs_v1", invalidate_on_data_updates: true), + family.build_cache_key("account_sidebar_tabs_v2", invalidate_on_data_updates: true), Current.user&.id, shares_version, active_tab, diff --git a/app/views/accounts/_account_sidebar_tabs.html.erb b/app/views/accounts/_account_sidebar_tabs.html.erb index 653a64c85..9b9087091 100644 --- a/app/views/accounts/_account_sidebar_tabs.html.erb +++ b/app/views/accounts/_account_sidebar_tabs.html.erb @@ -3,22 +3,12 @@ <% cache account_sidebar_tabs_cache_key(family: family, active_tab: active_tab, mobile: mobile), expires_in: 12.hours do %>