[deploy] Add user_signed_in to profile header cache key (#7315)
This commit is contained in:
parent
645920c09f
commit
db4c9ef4b2
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<%= @user_json_ld.to_json.html_safe %>
|
||||
</script>
|
||||
<% end %>
|
||||
<% cache "main-user-profile-header-area-#{@user.id}-#{@user.profile_updated_at}", expires_in: 10.days do %>
|
||||
<% cache "main-user-profile-header-area-#{@user.id}-#{@user.profile_updated_at}-#{user_signed_in?}", expires_in: 10.days do %>
|
||||
<style>
|
||||
.widget header {
|
||||
color: <%= HexComparer.new([user_colors(@user)[:bg], user_colors(@user)[:text]]).brightness(0.88) %>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue