Method for caching file resources in mobile phone application by H5 page
A mobile phone application and cache file technology, applied in resource allocation, special data processing applications, multi-programming devices, etc., can solve the problems of user traffic loss, multiple requests for the same resource, long loading time and user experience, and achieve high efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment
[0021] Cooperate figure 1 As shown, the present invention discloses a method for caching file resources in a mobile phone application by an H5 page, comprising the following steps:
[0022] S1, H5 page initiates network request connection;
[0023] S2, the cache system judges whether the network request is a file resource, and if so, executes step S3, otherwise ends the process;
[0024] S3. The cache system judges the cache status of the resource file. If it has been cached, it returns the cached resource to the H5 page, otherwise the cache system downloads the file resource, and then returns the downloaded resource to the H5 page;
[0025] S4 and H5 pages receive file resources for display.
[0026] Step S2 is specifically:
[0027] S21, the cache system intercepts the network request, and extracts the request parameters in the network request;
[0028] The specified domain name is preset, and the caching system filters the network addresses of all network requests accordin
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap