Change profile header cache key to purge headers (#11732)
This commit is contained in:
parent
28f3dbb13b
commit
347f7376f1
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@
|
|||
<%= @user_json_ld.to_json.html_safe %>
|
||||
</script>
|
||||
<% end %>
|
||||
<% cache "main-user-profile-header-area-#{@user.id}-#{@user.profile_updated_at}-#{user_signed_in?}", expires_in: 10.days do %>
|
||||
|
||||
<% cache "user-profile-header-area-#{@user.id}-#{@user.profile_updated_at}-#{user_signed_in?}", expires_in: 10.days do %>
|
||||
<style>
|
||||
:root {
|
||||
--profile-brand-color: <%= HexComparer.new([user_colors(@user)[:bg], user_colors(@user)[:text]]).brightness(0.88) %>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue