Method and system for caching script files
A script file and caching technology, applied in the field of data processing, can solve problems such as wasting communication traffic, achieve the effect of increasing speed and saving communication traffic
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] This embodiment provides a method for caching script files, including:
[0069] S1. Configure a unique identifier for the script file stored in the server; specifically:
[0070] S11. The server acquires the name of the script file, the path of the script file, and the last modification time of the script file;
[0071] S12. The server generates a unique identifier corresponding to the script file according to the name, the path of the script file, and the last modification time;
[0072] S13. The server adds the unique identifier to the file name of the corresponding script file;
[0073] S14. The server adds the unique identifier to the start position of the corresponding script file;
[0074] S2. The server configures the identifier set corresponding to the webpage according to the script file included in the webpage;
[0075] S3. When the server obtains a loading request of any webpage from the client, send an identifier set corresponding to any webpage to the cl...
Embodiment 2
[0083] Such as image 3 As shown, this embodiment provides a system for caching script files, including a client 101 and a server 102;
[0084] Wherein, the client 101 includes a first comparison module 4, a third addition module 8, a second comparison module 9, an acquisition module 10, and a loading module 11;
[0085] The first comparison module 4 is used to compare the preset cache information table with the identifier set corresponding to any web page, and obtain the identifier set of the uncached script; the cache information table records that the client has cached The unique identifier of the script file;
[0086] The third adding module 8 is used for the client to add the identifier set of the uncached script to the preset cache information table;
[0087] The second comparison module 9 is used for the client to compare the preset cache information table with the identifier set corresponding to any webpage, and obtain the identifier set of the cached script;
[008...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com