Rate Limits
Do and avoid
Cache data locally Load all configs at startup Submit scores only on improvements Use the useCacheparameterMake repeated identical requests Fetch individual configs repeatedly Submit scores every frame Always bypass the cache
Efficient startup pattern
Load only what you need at startup, then rely on caching for the rest.
C#
1async void Start()
2{
3 HorizonApp.Initialize();
4 await new HorizonServer().Connect();
5
6 // Startup loads (3 requests)
7 await UserManager.Instance.CheckAuth();
8 await RemoteConfigManager.Instance.GetAllConfigs();
9 await NewsManager.Instance.LoadNews();
10
11 // 7 requests remaining for gameplay
12}