Event-driven regeneration of pages for web-based applications
First Claim
1. A system for invalidating and regenerating cached pages, the system comprising:
- a processor; and
a computer readable storage medium in communication with the processor and carrying instructions which when executed by the processor cause the processor to;
detect a content change in a content database accessible by a content manager, the content manager being communicatively connected to an invalidation generator, wherein the content change comprises a modification to one or more objects stored in the content database;
cause the invalidation generator to generate one or more invalidations based on the modification to the one or more objects stored in the content database;
communicate the one or more invalidations to a dependency manager, wherein the dependency manager and the content manager reside on one or more computers in a network environment;
based on the one or more invalidations, generate one or more page invalidation notices to notify a cache manager that one or more pages stored in a page cache managed by the cache manager have been invalidated based on a dependency hierarchy associated with the one or more objects whose modification has been detected, wherein the generating is performed by the dependency manager, the dependency manager being communicatively connected to the cache manager;
forward the one or more page invalidation notices from the dependency manager to the cache manager;
based on the one or more page invalidation notices, determine if any cached page is subject to regeneration;
send a page regeneration request to a page generator to regenerate a cached page;
regenerate the cached page with the modified one or more objects;
forward the regenerated page to the cache manager; and
replace the cached page with the regenerated page in the page cache managed by the cache manager.
11 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for invalidating and regenerating pages. In one embodiment, a method can include detecting content changes in a content database including various objects. The method can include causing an invalidation generator to generate an invalidation based on the modification and communicating the invalidation to a dependency manager. A cache manager can be notified that pages in a cache might be invalidated based on the modification via a page invalidation notice. In one embodiment, a method can include receiving a page invalidation notice and sending a page regeneration request to a page generator. The method can include regenerating the cached page. The method can include forwarding the regenerated page to the cache manager replacing the cached page with the regenerated page. In one embodiment, a method can include invalidating a cached page based on a content modification and regenerating pages which might depend on the modified content.
-
Citations
20 Claims
-
1. A system for invalidating and regenerating cached pages, the system comprising:
-
a processor; and a computer readable storage medium in communication with the processor and carrying instructions which when executed by the processor cause the processor to; detect a content change in a content database accessible by a content manager, the content manager being communicatively connected to an invalidation generator, wherein the content change comprises a modification to one or more objects stored in the content database; cause the invalidation generator to generate one or more invalidations based on the modification to the one or more objects stored in the content database; communicate the one or more invalidations to a dependency manager, wherein the dependency manager and the content manager reside on one or more computers in a network environment; based on the one or more invalidations, generate one or more page invalidation notices to notify a cache manager that one or more pages stored in a page cache managed by the cache manager have been invalidated based on a dependency hierarchy associated with the one or more objects whose modification has been detected, wherein the generating is performed by the dependency manager, the dependency manager being communicatively connected to the cache manager; forward the one or more page invalidation notices from the dependency manager to the cache manager; based on the one or more page invalidation notices, determine if any cached page is subject to regeneration; send a page regeneration request to a page generator to regenerate a cached page; regenerate the cached page with the modified one or more objects; forward the regenerated page to the cache manager; and replace the cached page with the regenerated page in the page cache managed by the cache manager. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for invalidating cached pages, comprising:
-
at a computer implementing an invalidation generator, detecting a content change in a content database accessible by a content manager, the content manager being communicatively connected to the invalidation generator, wherein the content change comprises a modification to one or more objects stored in the content database; in response to the modification to the one or more objects, causing the invalidation generator to generate one or more invalidations based on the modification to the one or more objects stored in the content database; communicating the one or more invalidations from the invalidation generator to a dependency manager, wherein the dependency manager and the content manager reside on one or more computers in a network environment; determining that one or more pages stored in a page cache managed by a cache manager have been invalidated based on a dependency hierarchy associated with the one or more objects whose modification has been detected, wherein the determining is performed by the dependency manager, the dependency manager being communicatively connected to the cache manager; generating one or more page invalidation notices for the one or more pages, wherein the generating is performed by the dependency manager; and forwarding the one or more page invalidation notices from the dependency manager to the cache manager. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer program product comprising at least one non-transitory computer readable medium storing instructions translatable by at least one processor to perform:
-
detecting a content change in a content database accessible by a content manager, the content manager being communicatively connected to an invalidation generator, wherein the content change comprises a modification to one or more objects stored in the content database; causing the invalidation generator to generate one or more invalidations based on the modification to the one or more objects stored in the content database; communicating the one or more invalidations to a dependency manager, wherein the dependency manager and the content manager reside on one or more computers in a network environment; generating one or more page invalidation notices to notify a cache manager that one or more pages stored in a page cache managed by the cache manager have been invalidated based on a dependency hierarchy associated with the one or more objects whose modification has been detected, wherein the generating is performed by the dependency manager, the dependency manager being communicatively connected to the cache manager; and forwarding the one or more page invalidation notices from the dependency manager to the cache manager. - View Dependent Claims (17, 18, 19, 20)
-
Specification