File cache method and device
A file cache and file storage technology, applied in the computer field, can solve problems such as OOM exception, insufficient memory, GC cannot complete recycling, etc., to speed up the loading speed and avoid the effect of OOM
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] Embodiments of the present invention provide a file caching method and device. For downloaded files, they are stored in both the primary cache and the file cache, which is convenient for subsequent file loading and reduces the number of primary and secondary caches. The cache pressure of the cache improves the loading speed of pictures and other files, and reduces the occurrence of insufficient memory.
[0042] Such as figure 1 As shown, the file caching method provided by the embodiment of the present invention includes:
[0043] Step S101, when it is determined that a file needs to be loaded, and it is determined that the file needs to be downloaded from the network, download the file;
[0044] Step S102, after downloading the file, back up and store the downloaded file in the file cache and the first-level cache.
[0045] Since the downloaded files are backed up and stored in the file cache and the first-level cache at the same time, when the file is loaded again, ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com