SYSTEM, METHOD AND COMPUTER PROGRAM PRODUCT FOR EFFICIENT CACHING OF HIERARCHICAL ITEMS
First Claim
1. A method of caching hierarchical items in a network environment, the method comprising:
- in a hierarchical navigation tree having nodes representing hierarchical items of a web site, each node in the hierarchical navigation tree having a tree timestamp and a node timestamp, a server computer where the hierarchical navigation tree is cached performing;
in response to a change to the hierarchical navigation tree, identifying dirty nodes in the hierarchical navigation tree that are affected by the change, wherein the tree timestamp and the node timestamp are used in the identifying; and
rebuilding a portion of the hierarchical navigation tree containing the dirty nodes without alternating all the nodes in the hierarchical navigation tree.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments disclosed herein provide a “lazy” approach in caching a hierarchical navigation tree with one or more associated permission trees. In one embodiment, only a portion of a cached permission tree is updated. One embodiment of a method may comprise determining whether a dirty node exists by comparing tree timestamps of the permission tree and the master tree. If the tree timestamp of the master tree is temporally more recent than the tree timestamp of the permission tree, the permission tree has a dirty node and the method may operate to check node timestamps of the master and permission trees. This process may be repeated until the dirty node is found, at which time a portion of the permission tree associated with the dirty node may be reconstructed, rather than the entire permission tree itself, thereby eliminating or significantly reducing access time to the cached permission tree.
17 Citations
20 Claims
-
1. A method of caching hierarchical items in a network environment, the method comprising:
-
in a hierarchical navigation tree having nodes representing hierarchical items of a web site, each node in the hierarchical navigation tree having a tree timestamp and a node timestamp, a server computer where the hierarchical navigation tree is cached performing; in response to a change to the hierarchical navigation tree, identifying dirty nodes in the hierarchical navigation tree that are affected by the change, wherein the tree timestamp and the node timestamp are used in the identifying; and rebuilding a portion of the hierarchical navigation tree containing the dirty nodes without alternating all the nodes in the hierarchical navigation tree. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising at least one non-transitory computer readable medium storing instructions translatable by a server computer where a hierarchical navigation tree is cached, the hierarchical navigation tree having nodes representing hierarchical items of a web site, each node in the hierarchical navigation tree having a tree timestamp and a node timestamp, the instructions when translated by the server computer cause the server computer to perform:
-
in response to a change to the hierarchical navigation tree, identifying dirty nodes in the hierarchical navigation tree that are affected by the change, wherein the tree timestamp and the node timestamp are used in the identifying; and rebuilding a portion of the hierarchical navigation tree containing the dirty nodes without alternating all the nodes in the hierarchical navigation tree. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A system, comprising:
-
a server computer storing a hierarchical navigation tree, the hierarchical navigation tree having nodes representing hierarchical items of a web site, each node in the hierarchical navigation tree having a tree timestamp and a node timestamp, the server computer configured to perform; in response to a change to the hierarchical navigation tree, identifying dirty nodes in the hierarchical navigation tree that are affected by the change, wherein the tree timestamp and the node timestamp are used in the identifying; and rebuilding a portion of the hierarchical navigation tree containing the dirty nodes without alternating all the nodes in the hierarchical navigation tree. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification