mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: introduce full cache for site json when anon
This commit is contained in:
@@ -373,6 +373,7 @@ module SiteSettingExtension
|
||||
def clear_cache!
|
||||
SiteText.text_for_cache.clear
|
||||
Rails.cache.delete(SiteSettingExtension.client_settings_cache_key)
|
||||
Site.clear_anon_cache!
|
||||
end
|
||||
|
||||
def diff_hash(new_hash, old)
|
||||
|
||||
Reference in New Issue
Block a user