Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A front-end modular loader for partial update of packaged files

A front-end module and module loading technology, which is applied in the network field, can solve the problem of unresolved reloading of packaged files and achieve the effect of optimizing performance and traffic

Active Publication Date: 2019-01-15
YONYOU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the problem of reloading all packaged files brought about by the script file update has not been resolved.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A front-end modular loader for partial update of packaged files
  • A front-end modular loader for partial update of packaged files
  • A front-end modular loader for partial update of packaged files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] All features disclosed in this specification, or steps in all methods or processes disclosed, may be combined in any manner, except for mutually exclusive features and / or steps.

[0039] Any feature disclosed in this specification (including any appended claims, abstract and drawings), unless expressly stated otherwise, may be replaced by alternative features which are equivalent or serve a similar purpose. That is, unless expressly stated otherwise, each feature is one example only of a series of equivalent or similar features.

[0040] In an embodiment, the now popular r. JavaScript of require JavaScript synthesizes all script files into one script through the command line, and only needs to load one JavaScript when the front-end browser loads. For a website with a large amount of JavaScript, a large part of JavaScript may not be updated frequently.

[0041] Therefore, this patent proposes a solution for differentiated loading, adopting the current solution for most ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a front end module loader for partial renewal of a package file. The module loader comprises a static loader and a dynamic loader. The dynamic loader is composed of a front end loader and a back buffer computing element Dynamic Js Servlet. The dynamic loader is used for loading a dynamic JavaScript. The dynamic JavaScript is a JavaScript with high renewal frequency. The static loader is used for loading a static JavaScript, and the static JavaScript is the JavaScript which does not renew regularly. The partial renewal of a package script is achieved indirectly through the combination of the static loading and the dynamic loading. According to the front end module loader, the browser caching can be utilized fully, and the front end module loader can adapt to the frequent change of a website and achieve the purpose of optimizing website performance and flow.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a front-end modular loader for partial update of packaged files. Background technique [0002] With the rapid development of the Internet, front-end development has become more and more important and complex. The traditional front-end script development method will bring problems such as naming conflicts and file loading order dependencies. Most websites have introduced modular solutions. Currently popular solutions include AMD (Asynchronous Module Definition) and CMD (Common Module Definition), and the representative tools are requirejs and sea JavaScript respectively. [0003] In traditional websites, in order to solve the problem of too many front-end JavaScript script requests, multiple js files are usually merged into one file, and the file is processed by removing blank characters and shortening variable names, which will make the requested The number and volume are redu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F8/71
CPCG06F9/44521G06F16/957
Inventor 李传忠田孝启
Owner YONYOU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products