mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
PERF: Warm up caches in SiteSerializer
while preloading app.
Otherwise, time will be spent warming up the caches in the initial requests.
This commit is contained in:
@ -929,6 +929,7 @@ module Discourse
|
||||
Search.prepare_data("test")
|
||||
|
||||
JsLocaleHelper.load_translations(SiteSetting.default_locale)
|
||||
Site.json_for(Guardian.new)
|
||||
end
|
||||
|
||||
[
|
||||
|
Reference in New Issue
Block a user