| CPC G06F 12/0871 (2013.01) [G06F 2212/45 (2013.01)] | 20 Claims |

|
1. One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by at least one processor, perform a method for in-memory caching of data, the method comprising:
providing an in-memory cache in a memory of a client device, the client device comprising a flexible time dimension API user component to group user interface (UI) components performing operations on flexible times, and a flexible time dimension API component, wherein flexible times correspond to user defined time hierarchies stored on a server, wherein the UI components control flexible time dimension calls and operate synchronously, and wherein the flexible time dimension API component provides access to the server for the grouped UI components performing operations on flexible times;
sending, by the flexible time dimension API component, a first synchronous flexible time request for a first flexible time data item from the client device to the in-memory cache;
receiving, by the flexible time dimension API component, a null response indicating that the first flexible time data item is not in the in-memory cache;
in response to the flexible time dimension API component determining that the first flexible time data item is not in the in-memory cache, sending, by the flexible time dimension API component, a second request from the client device for the first flexible time data item to a server;
receiving, by the flexible time dimension API component, a response from the server with the first flexible time data item to the client device;
sending, by the flexible time dimension API component, the first flexible time data item to the in-memory cache;
storing the first flexible time data item in the in-memory cache;
sending, by the flexible time dimension API component, a subsequent request for the first flexible time data item from the client device to the in-memory cache; and
receiving, by the flexible time dimension API component, the first flexible time data item from the in-memory cache.
|