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

JavaScript file management method, device and system

A management method and file technology, applied in the network field, can solve the problems of increasing the number of HTTP requests, reducing the user experience of visiting websites, affecting the page download speed, etc., to achieve the effect of accelerating the page download, improving the user experience, and improving the loading speed.

Inactive Publication Date: 2011-06-01
ALIBABA GRP HLDG LTD
View PDF3 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The invention helps reduce resource usage by sending Javascript commands from clients to servers instead of relying solely upon dependencies between them. It also enhances how users load or start their own apps faster than they can before it becomes too complicated again.

Problems solved by technology

This patented problem addressed in this patents relates to improving web browsers' efficiency when accessing websites through scripts like Java or Flash. While these programs can verify how well their code works for different types of servers without repeating them every time, existing solutions require declaring each new Request beforehand, making downloading even more complex tasks than what we have done previously.

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
  • JavaScript file management method, device and system
  • JavaScript file management method, device and system
  • JavaScript file management method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The main idea of ​​this application includes writing dependencies with other JavaScript files in the form of annotations in the JavaScript file, when receiving a JavaScript request, the server side searches for the JavaScript file corresponding to the JavaScript request and the JavaScript file that has a dependency relationship with the JavaScript file A file collection, merging the JavaScript file and the file collection that has a dependency relationship with the JavaScript file, including removing duplicate JavaScript files and compressing them, and returning the compressed files to the client.

[0049] Since most JavaScript requests exist in the pages of the website, this application also provides a page component that combines multiple JavaScript requests that have no dependencies with each other into one URL according to the agreed specification, minimizing the number of URLs on the page. The number of JavaScript requests. In addition, JavaScript requests can be p...

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 discloses a JavaScript file management method, device and system. The method comprises the following steps of: receiving and analyzing a JavaScript request from a client side; acquiring a file array corresponding to the JavaScript request; traversing a file dependence structure chart according to the file array; searching a JavaScript file corresponding to the JavaScript request and a file set in dependence with the JavaScript file; and if the JavaScript file corresponding to the JavaScript request and the file set in dependence with the JavaScript file are found out, sending the JavaScript file and the file set to the client side. The invention realizes that the page loading speed and the webpage downloading speed are increased.

Description

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

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
Owner ALIBABA GRP HLDG 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