From 8bcf95b3ec4dc2888473e7f25c05cc3bc9a5b96c Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 10 Mar 2020 14:24:33 -0400 Subject: [PATCH] Disallow /mod/ in robots.txt (#6562) [deploy] --- app/views/articles/tags/_sidebar.html.erb | 2 +- app/views/pages/robots.text.erb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/articles/tags/_sidebar.html.erb b/app/views/articles/tags/_sidebar.html.erb index 044f3febf..656482a03 100644 --- a/app/views/articles/tags/_sidebar.html.erb +++ b/app/views/articles/tags/_sidebar.html.erb @@ -1,4 +1,4 @@ -<% cache "tag-sidebar-#{@tag}-#{@tag_model&.updated_at}-#{@tag_model&.taggings_count}", expires_in: 5.hours do %> +<% cache "tag-sidebar-#{@tag}-#{@tag_model&.updated_at}-#{@tag_model&.taggings_count}-#{user_signed_in?}", expires_in: 5.hours do %>