Plug-in cache
First Claim
Patent Images
1. A system comprising:
- a memory comprising instructions; and
one or more processors configured by the instructions to implement;
an application module;
a cache control module; and
a plug-in module implemented by one or more hardware processors, the plug-in module being configured to;
determine that an item in a memory has expired;
determine that the application module is idle;
in response to the application module being idle, initiate a data request, for an updated version of the expired item, to the application module, the data request being marked as a cache request;
responsive to the data request, receive data from the application module, the received data being marked as a cache response; and
responsive to receiving the received data, request the cache control module to update the expired item with the received data;
the cache control module being configured to;
receive instructions from the plug-in module;
store data provided by the plug-in module in a memory; and
retrieve data from the memory for access by the plug-in module;
the application module being configured to, prior to making a second data request, inform the plug-in module of the second data request; and
the plug-in module being further configured to;
based on whether data responsive to the second data request is stored in the memory, either;
allow the second data request to proceed without modification;
or request the data responsive to the second data request from the cache control module, and provide the data responsive to the second data request to the application module.
1 Assignment
0 Petitions
Accused Products
Abstract
An application may support the use of a plug-in. A plug-in may have an associated cache. The application may allow the plug-in to intercept network requests. The plug-in can determine if a network request is for an already-cached resource and provide the resource as a response to the intercepted network request. Additionally or alternatively, the application may allow the plug-in to make network requests. The plug-in can make a network request for data in order to add the data to the plug-in'"'"'s cache. The plug-in may be able to determine when the application, the system, the network, or any suitable combination thereof are idle and cause cache requests to be made during idle periods.
-
Citations
19 Claims
-
1. A system comprising:
-
a memory comprising instructions; and one or more processors configured by the instructions to implement; an application module; a cache control module; and a plug-in module implemented by one or more hardware processors, the plug-in module being configured to; determine that an item in a memory has expired; determine that the application module is idle; in response to the application module being idle, initiate a data request, for an updated version of the expired item, to the application module, the data request being marked as a cache request; responsive to the data request, receive data from the application module, the received data being marked as a cache response; and responsive to receiving the received data, request the cache control module to update the expired item with the received data; the cache control module being configured to; receive instructions from the plug-in module; store data provided by the plug-in module in a memory; and retrieve data from the memory for access by the plug-in module; the application module being configured to, prior to making a second data request, inform the plug-in module of the second data request; and the plug-in module being further configured to; based on whether data responsive to the second data request is stored in the memory, either; allow the second data request to proceed without modification; or request the data responsive to the second data request from the cache control module, and provide the data responsive to the second data request to the application module. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
determining, by a plug-in implemented by one or more hardware processors of a machine, that an item in a cache has expired; determining, by the plug-in, that an application is idle; in response to the application being idle, initiating, by the plug-in, a data request to the application for an updated version of the expired item, the data request being marked as a cache request; responsive to the data request, receiving data from the application, the received data being marked as a cache response; responsive to receiving the received data, updating the cache with the received data; receiving, by the plug-in, a notification from the application of a second data request, the notification being received prior to the second data request being sent over a network; determining whether data responsive to the second data request is stored in the cache; and
based on the determination, either;allowing the second data request to proceed without modification;
oraccessing the data responsive to the second data request in the cache, and providing the data responsive to the second data request to the application. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory machine-readable storage medium comprising instructions that, when executed by one or more processors of a machine, cause the machine to perform operations comprising:
-
determining, by a plug-in module, that an item in a cache has expired; determining, by the plug-in module, that an application is idle; in response to the application being idle, initiating a data request to the application for an updated version of the expired item, the data request being marked as a cache request; responsive to the data request, receiving data from the application, the received data being marked as a cache response; responsive to receiving the received data, updating the cache with the received data; receiving, by the plug-in module, a notification from the application of a second data request, the notification being received prior to the second data request being sent over a network; determining whether data responsive to the second data request is stored in the cache; and
based on the determination, either;allowing the second data request to proceed without modification;
oraccessing the data responsive to the second data request in the cache, and providing the data responsive to the second data request to the application. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification