mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:16:08 +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:
parent
6a79864f14
commit
2e4182b4b3
|
@ -929,6 +929,7 @@ module Discourse
|
|||
Search.prepare_data("test")
|
||||
|
||||
JsLocaleHelper.load_translations(SiteSetting.default_locale)
|
||||
Site.json_for(Guardian.new)
|
||||
end
|
||||
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue
Block a user