Hello Vladislav,
You can apply caching on the client side in which you can store this value in local storage along with timestamp. You can read this value till specific time if it is available in local storage (For example 6 hours). If this value is not available or time has expired, you can fetch it back from server and update the local storage.
Let me know if it helps.
Himanshu Sharma