From 56c55d047d262f7cfcdc5ad6d5b4e4280b37c125 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Fri, 19 Apr 2019 12:57:40 -0400 Subject: [PATCH] Add user_signed_in? to cache key for styles (#2498) --- app/views/layouts/_styles.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_styles.html.erb b/app/views/layouts/_styles.html.erb index bb12d57fa..8ca5f7a5b 100644 --- a/app/views/layouts/_styles.html.erb +++ b/app/views/layouts/_styles.html.erb @@ -1,4 +1,4 @@ -<% cache "base_inline_styles_#{@story_show}_#{@article_index}_#{@home_page}_#{@article_show}_#{view_class}_#{@notifications_index}_#{core_pages?}_#{@tags_index}_#{ApplicationConfig['DEPLOYMENT_SIGNATURE']}x_xs__", expires_in: 8.hours do %> +<% cache "base_inline_styles_#{@story_show}_#{@article_index}_#{@home_page}_#{@article_show}_#{view_class}_#{@notifications_index}_#{core_pages?}_#{@tags_index}_#{@reading_list_items_index}_#{ApplicationConfig['DEPLOYMENT_SIGNATURE']}_#{user_signed_in?}", expires_in: 8.hours do %> <% if @story_show %>