Data caching method and system for network request
A data caching and network request technology, applied in the network field, can solve problems such as occupying a large memory space, unable to save data, and data delay
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2019-05-17
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to the network field, in particular to a data cache method and a data cache system for network requests. Background technique
[0002] With the development of information network technology, various clients for different applications have been developed one after another. In order to improve the performance of the client, a data cache layer is usually added to the client or a data layer is added to the server. These clients pre-fetch data from the server and save it in memory; when the client sends a data request, the client retrieves the data from the data cache and returns the corresponding data to the client.
[0003] Of course, the traditional data caching method for the above data caching mainly adopts a pre-batch data caching method for data and a real-time filling data caching method for data. For example, when the pre-batch data cache method is used, before the client starts to request data, the data cache will be filled...
Examples
Embodiment Construction
[0033] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
[0034] Such as figure 1 As shown, the data caching method for the network request in this embodiment is used to realize the data communication between the client and the server, and the data caching method for the network request includes the following steps 1 to 5:
[0035] Step 1, adding a data cache device between the client and the server, so that each data request information transmitted on the network is received by the data cache device; wherein each data request information has a URL identifier representing the data request information; Among them, the URL (Uniform Resource Locator, abbreviated as URL) identifier is also called a uniform resource locator;
[0036]Step 2, the data caching device intercepts the URL identification of each data request information and caches each URL identification and the response data corresponding to e...