Webpage resource loading method and device, electronic equipment and storage medium

A technology of web resources and resources, applied in the field of data processing, can solve the problems of slow first-time access to pages, inability to accurately manage and control cache resources and network traffic overhead, and reduce user experience, so as to improve access speed and first-time access speed , Improve the effect of user experience

Active Publication Date: 2018-06-29
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing technology, it is very common to use native + HTML5 mixed-mode applications in the field of mobile development. Using HTML5 pages can reduce the development cost of multiple operating systems, and online pa

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
  • Webpage resource loading method and device, electronic equipment and storage medium
  • Webpage resource loading method and device, electronic equipment and storage medium
  • Webpage resource loading method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057]The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0058] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0059] According to the embodiments of the present invention, a web page resource loading m...

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 provides a webpage resource loading method and device, electronic equipment and a storage medium, and relates to the technical field of data processing. The webpage resource loading method comprises the steps of obtaining webpage resources, and caching the webpage resources according to a directory organization structure of a relative path of the webpage resources; intercepting a webpage access request sent by a browser, and obtaining a relative path of the webpage access request; obtaining a local resource absolute path of the target webpage resources according to the relative paths and a preset path; if it is determined that the target webpage resources are cached into local webpage resources according to the local resource absolute path, obtaining the target webpage resources and returning the target webpage resources to the browser. By means of the method, the first-time access and no-network access experience can be improved, and the network data overhead is reduced;developers can accurately control cache resources; by adopting a mode of searching for the local resources according to the relative paths, no URL is saved to the storage overhead of resource mapping.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and more specifically, the embodiments of the present invention relate to a web page resource loading method, a web page resource loading device, electronic equipment, and a computer-readable storage medium. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] In the prior art, usually when opening a browser for the first time to access a certain webpage, if there is no corresponding webpage resource cached locally, it is necessary to request the server to load the webpage resource. If there is no network, the corresponding webpage resource cannot be obtained, even if there is a network for the first visit The speed of the browser will also be relatively slow, whi...

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
IPC IPC(8): G06F17/30G06F9/445
CPCG06F9/44521G06F16/9574G06F16/972
Inventor 张建伟张平
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products