主权项 |
1. A method of using hierarchical information, the method comprising:
receiving, from a user device, a request for information associated with a topic; in response to the request, retrieving an indicator for a characteristic associated with the user device; retrieving, in response to the request, first topic information stored on a database, the first topic information corresponding to a first hierarchical level; selecting, based on the request and the indicator, second topic information stored on the database, the second topic information selected from a second hierarchical level lower than the first hierarchical level; generating, using at least one hardware processor, combined topic information in a cache of the database, the combined topic information comprising the first topic information modified based on the second topic information within the cache, the combined topic information configured to be retrieved upon the indicator for the characteristic being retrieved in response to a subsequent request from another user device and without repeating the combination of the first topic information or the second topic information and wherein a subsequent request causing retrieval of an indicator for a different characteristic causes the first hierarchical level and the second hierarchical level to be accessed without accessing the combined topic information; storing the combined topic information on the database, the combined topic information stored without modifying the first topic information and the second topic information and within a data structure hierarchy including the first hierarchical level and the second hierarchical level; transmitting the combined topic information to the user device for display on the user device, based on the request and the indicator for the characteristic associated with the user device; and upon receiving an update to one or more of the first topic information and the second topic information, removing, by the at least one hardware processor, the combined topic information from the database. |