Sign In Register

How can we help you today?

Start a new topic
Answered

Cache document for all users

Hi is there any possibility to make single document accessible for all users? I mean I have document with some data which can be changed once per week(by developers only) and I want to make that all users without querying collection can get full document? I mean querying collection can be a bit slow in this case so would be great to have this document accessible globally(it will be read only).

I have read about Redis in GS but it does not allow to get full document(only strings), also I've heard about GameSparksProperties but theres no access to it by API(to change properties dynamically) as I see. Maybe I can use somehow one of this(to use document format) - if yes how?



Best Answer

Hi Marcin Olszewski,


GameSparks provides a cache which should provide the functionality you require. Please see the documentation at:


https://docs.gamesparks.net/documentation/cloud-code-api/utils-cloud-code-api/sparkcache


Hope this helps,


Jonathan.



Answer

Hi Marcin Olszewski,


GameSparks provides a cache which should provide the functionality you require. Please see the documentation at:


https://docs.gamesparks.net/documentation/cloud-code-api/utils-cloud-code-api/sparkcache


Hope this helps,


Jonathan.


Good thanks:)

 

Login to post a comment