CN106980698A - Browser static resource loading method, browser program and readable storage medium storing program for executing - Google Patents
Browser static resource loading method, browser program and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN106980698A CN106980698A CN201710230370.8A CN201710230370A CN106980698A CN 106980698 A CN106980698 A CN 106980698A CN 201710230370 A CN201710230370 A CN 201710230370A CN 106980698 A CN106980698 A CN 106980698A
- Authority
- CN
- China
- Prior art keywords
- static resource
- warehouse
- browser
- static
- local
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of browser static resource loading method, comprise the following steps:Obtain the returned content of destination server, the static resource that the returned content is represented including the use of static resource identifier;According to the static resource identifier, the static resource is obtained from static resource warehouse, the static resource warehouse is included in the local static resource warehouse that static resource is locally stored in browser;The returned content is rendered for Webpage using the static resource.Browser of the present invention is by recognizing from server returned content, in static resource warehouse static resource is obtained for user, avoid every time in loading page, it must repeat to obtain static resource from server simultaneously, only need to obtain static resource from static resource warehouse, repetition loading data are avoided, flow and download time has been saved, has improved Consumer's Experience.The present invention also provides a kind of browser program and computer-readable recording medium.
Description
Technical field
The present invention relates to technical field of the computer network, more particularly to a kind of browser static resource loading method, browse
Device program and computer-readable recording medium.
Background technology
With the development of Internet technology, internet is had been applied in all trades and professions, and software is more and more using clear
Device/server mode is look at as software structure mode, the data that browser resolves are returned from server receive user to user
Input to server.
Many static resources have been used in present webpage, in an application or a website, in most webpage, example
Such as JavaScript, CSS etc. is to use identical file, but in each request, must all repeat to load data, waste need not
The flow wanted and download time, influence Consumer's Experience.
The content of the invention
It is a primary object of the present invention to provide one kind to avoid repeating loading static resource, browsing for download time is reduced
Device static resource loading method, browser program and computer-readable recording medium.
To achieve the above object, a kind of browser static resource loading method that the present invention is provided, comprises the following steps:
Obtain the returned content of destination server, the static money that the returned content is represented including the use of static resource identifier
Source;
According to the static resource identifier, the static resource, static resource warehouse bag are obtained from static resource warehouse
Include the local static resource warehouse that static resource is locally stored in browser;
The returned content is rendered for Webpage using the static resource.
Further, the static resource is the scripted code that can be run in a browser, and/or controls the webpage page
The pattern of face rendering effect describes file.
Further, it is described according to the static resource identifier, obtain the static resource bag from static resource warehouse
Include:
According to the static resource identifier, judge that the local static resource warehouse whether there is the static resource;
If in the presence of from the local static resource warehouse acquisition static resource;
If being not present, according to static resource identifier, the static resource is obtained from static resource central repository, and preserve extremely
The local static resource warehouse.
Further, it is described to judge that local static resource warehouse includes with the presence or absence of the static resource:
Judge that the local static resource warehouse whether there is the static resource of the static resource identifier indicated release;
When the local static resource warehouse has the static resource of the static resource identifier indicated release, then institute is judged
State local static resource warehouse and there is the static resource in the static resource;
When the static resource of the static resource identifier indicated release is not present in the local static resource warehouse, then judge
The static resource is not present in the static resource in the local static resource warehouse.
Further, it is described according to the static resource identifier, obtain the static resource bag from static resource warehouse
Include:
Judge whether the static resource identifier includes version number;
When the static resource identifier does not include version number, the static resource is obtained from the static resource central repository
Latest edition, and preserve to the local static resource warehouse.
Further, it is described according to the static resource identifier, obtain the static resource bag from static resource warehouse
Include:
Judge whether the static resource identifier includes version number;
When the static resource identifier does not include version number, the static resource is obtained from the local static resource warehouse
In latest edition.
Further, the static resource warehouse locally also includes memory cell in browser, when the Webpage please
When seeking preservation resource file, resource file described in the domain name encrypting storing of website where the Webpage to the storage is used
Unit;
When loading the Webpage again, the domain name of website where using the Webpage is literary as the resource is accessed
The key of part, loads the resource file.
Further, it is described according to the static resource identifier, obtain the static resource bag from static resource warehouse
Include:
The domain name of website where obtaining the Webpage;
According to the static resource identifier with using domain name, the domain correspondence name described in the local static resource warehouse
The static resource is obtained in NameSpace, the static resource identifier includes static resource name.
The present invention also provides a kind of browser program, and the browser program realizes above-mentioned browser static resource loading
The step of method.
The present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, and the program is processed
The step of device realizes above-mentioned browser static resource loading method when performing.
In the present invention, provided by browser by recognizing from the static state in server returned content, such as html file
Source identifier, static resource is obtained in static resource warehouse for user, it is to avoid every time in loading page, it is necessary to weight simultaneously
It is multiple to obtain static resource from server, it is only necessary to obtain static resource from static resource warehouse, it is to avoid to repeat loading data,
Flow and download time have been saved, Consumer's Experience is improved.
Brief description of the drawings
Fig. 1 be first embodiment of the invention in browser static resource loading method flow chart;
Fig. 2 be third embodiment of the invention in browser static resource loading method according to the static resource identify
Symbol, the details flow chart of the static resource is obtained from static resource warehouse;
Fig. 3 be four embodiment of the invention in browser static resource loading method in judge that local static resource warehouse is
The no details flow chart that there is the static resource;
Fig. 4 be fifth embodiment of the invention in browser static resource loading method according to the static resource identify
Symbol, the details flow chart of the static resource is obtained from static resource warehouse;
Fig. 5 be sixth embodiment of the invention in browser static resource loading method according to the static resource identify
Symbol, the details flow chart of the static resource is obtained from static resource warehouse;
Fig. 6 be eighth embodiment of the invention in browser static resource loading method according to the static resource identify
Symbol, the details flow chart of the static resource is obtained from static resource warehouse.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is refer to, Fig. 1 is the side in first embodiment of the invention for browser static resource loading method S101
Method flow chart, wherein, browser static resource loading method S101 comprises the following steps:
Step S10, obtains the returned content of destination server, the static state that returned content is represented including the use of static resource identifier
Resource;
When user browses webpage every time using browser, destination server is conducted interviews after input network address, in the present embodiment
Middle destination server can returned content be in file or the data such as html, html documents or data containing various static resources such as,
Picture, CSS, JavaScrip etc..But now with the development of CSS or JavaScript technologies, increasing website is used
Identical framework and code, the file that some frameworks are used are very big, even if two websites use identical framework, when in use,
Whenever one of them is accessed, the static resource file of needs must be downloaded again.For example, almost each webpage is in loading
Need to repeat loading jQuery, in the present embodiment, when in html webpage using jQuery is introduced, use static resource identifier
Introduce:<staticResoure type="text/javascript" staticResoureUUId="jquery" version
="1.10.2.min_65682a2"></staticResoure >, wherein staticResoureUUId is static resource identifier
Title, title is globally unique, is in the present embodiment " jquery ", file type is JavaScript.
Step S20, according to static resource identifier, static resource, static resource warehouse bag are obtained from static resource warehouse
Include the local static resource warehouse that static resource is locally stored in browser.
Step S30, returned content is rendered for Webpage using static resource.
In the present embodiment, browser is being locally located static resource warehouse, and static resource warehouse includes local quiet
State armory, has the default existence position storage static resource of setting, the static resource of storage includes in browser local,
One kind in JavaScript, Html, xml, json and CSS etc., or above-mentioned file format, or it is any several.This implementation
In example after the html returned from destination server is loaded into, it is not parsed immediately, until being obtained from static resource warehouse
Get the JavaScript of entitled " jquery ", thus avoid for obtain the JavaScript file of " jquery " and from mesh
Mark server is downloaded.
In the present invention, browser is by recognizing from the static resource mark in server returned content, such as html file
Know symbol, static resource obtained for user in static resource warehouse, it is to avoid every time in loading page, it is necessary at the same repeat from
Server obtains static resource, it is only necessary to from static resource warehouse obtain static resource, it is to avoid repeats loading data, saves
Flow and download time, improve Consumer's Experience.
Based on browser static resource loading method first embodiment of the present invention, in browser static resource loading method
In two embodiments, static resource is the pattern for the scripted code and control Web page rendering effect that can be run in a browser
File is described.
Specifically in the present embodiment, the html that destination server is returned, includes two static resource identifiers, respectively
It is:
<staticResoure type="text/javascript" staticResoureUUId="jquery" version
="1.10.2.min_65682a2"></staticResoure >With
<staticResoure type="text/css" staticResoureUUId="bootstrap" version="
3.0"></staticResoure >
Static resource also includes CSS (the English full name that bootstrap versions are 3.0 in the present embodiment:Cascading
Style Sheets, Chinese:CSS) file.
Because JavaScript the and CSS frameworks of current standard are increasingly popularized, almost each webpage can be used.Pass through handle
These conventional JavaScript file and CSS files is placed on locally, can avoid most of webpage by networking again under
Carry, it is to avoid the flow loss of user, also improve page response speed, improve Consumer's Experience.
It is the method for browser static resource loading method 102 in third embodiment of the present invention please also refer to Fig. 2
Flow chart.The browser static resource loading method 102 is on the basis of browser static resource loading method 101, step S20
Including:
Step S21, according to static resource identifier, judges that local static resource warehouse whether there is static resource;
Static resource warehouse is divided into local static resource warehouse in the present embodiment and static resource central repository is obtained, static resource
Central repository is responsible for that static resource is stored and distributed in the whole network, while static resource central repository is responsible for pacifying static resource file
The supervision and maintenance of full property, when the local browser of user is for the first time by loading and the page, are obtained from static resource central repository
Corresponding static file is taken, and preserves static file to local static resource warehouse.
If in the presence of execution step S22 obtains static resource from local static resource warehouse;
If being not present, step S23 is performed, according to static resource identifier, static resource is obtained from static resource central repository,
And preserve to local static resource warehouse.
Browser preserves used static resource, and is stored in local static resource warehouse, each using static
During resource, first corresponding static resource is searched from local static resource warehouse;Only when local static resource warehouse is not corresponding
Static resource when, just download and use from static resource central repository, and preserve the static resource under downloading to local static state
Armory, is used after being provided with.
Specifically in this embodiment, during static resource identifier in the html of return, such as Jquery:
<staticResoure type="text/javascript" staticResoureUUId="jquery" version
="1.10.2.min_65682a2"></staticResoure >
Version is first searched in local static resource warehouse is:" 1.10.2.min_65682a2's ", entitled jquery's
Javascript files.When local static resource warehouse has corresponding document, then directly use from local static resource warehouse
The file of acquisition;When local static resource warehouse does not have corresponding document, 1.10.2.min_ is obtained from static resource central repository
65682a2's ", entitled jquery javascript files are used, and preserve entitled jquery javascript files extremely
Local static resource warehouse.
It is the method for browser static resource loading method 103 in the 4th embodiment of the invention please also refer to Fig. 3
Flow chart.The browser static resource loading method 103 is on the basis of browser static resource loading method 102, step S21
Including:
Step S211, there is static resource in static resource in local static resource warehouse;
When local static resource warehouse has the static resource of static resource identifier indicated release, then step S212 is performed,
Judge that local static resource warehouse has static resource in static resource;
When the static resource of static resource identifier indicated release is not present in local static resource warehouse, then step is performed
Static resource is not present in static resource in S213, local static resource warehouse.
When needing to use static resource, search and wrapped in respective resources, static resource mark from local static resource warehouse
, it is necessary to verify that the resource version number found in local static resource warehouse identifies the version number included with static resource when including version number
It is whether identical, just it is considered as local static resource warehouse if identical and there is corresponding static resource, if it is not the same, is then considered as this
Respective resources are not present in ground static resource warehouse, by adding version information in static resource identifier, to local static resource
The static resource in warehouse is confirmed, the flexibility ratio selected during Web wrapper version is improved, to quiet when also for Web wrapper
The management of state resource provides convenient.
Specifically in the present embodiment, as the html of return, including state resource identifier:
<staticResoure type="text/css" staticResoureUUId="bootstrap" version="
3.0"></staticResoure >
If " css " version number of entitled " bootstrap " only has in local static resource warehouse:1.0,2.0, then judge local
The static resource of resource identifier correspondence version is not present in static resource warehouse, is judged as being not present, further from static resource
Central repository is obtained;If there being " css " version of entitled " bootstrap " in local static resource warehouse:1.0,2.0,3.0 Hes
4.0.Then judge local static resource warehouse exist resource identifier correspondence version static resource, be judged as exist, directly from
Obtained in local static resource warehouse " bootstrap " that version is 3.0.
It is the method for browser static resource loading method 104 in the 5th embodiment of the invention please also refer to Fig. 4
Flow chart.The browser static resource loading method 104 is on the basis of browser static resource loading method 101, step S20
Including:
Step S24, judges whether static resource identifier includes version number;
Step S25, when static resource identifier does not include version number, static resource is obtained most from static resource central repository
Redaction, and preserve to local static resource warehouse.
When static resource identifier is not in this version number, the programmer of default web page expects the static state using latest edition
Resource, it is to avoid later stage programmer changes the trouble of code because static resource is upgraded.
In the present embodiment, when static resource identifier is:
<staticResoure type="text/css" staticResoureUUId="bootstrap" ></
staticResoure >
" version " parameter of above-described embodiment is not carried, i.e., the static resource identifier in the present embodiment does not include version
This number, then the latest edition of static resource is directly obtained from static resource central repository, and preserved to local static resource warehouse,
Facilitate use next time.Server end does not include the static resource identifier of version number by being set in page end, makes local side straight
Connect the static resource of loading latest edition, the person that further reduces Web wrapper is to the workload of the maintenance of static resource, especially
Alleviate the maintenance task amount of the static resource insensitive to version.
It is the method for browser static resource loading method 105 in the 6th embodiment of the invention please also refer to Fig. 5
Flow chart.The browser static resource loading method 105 is on the basis of browser static resource loading method 101, step S20
Including:
Step S26, judges whether static resource identifier includes version number;
Step S27, when static resource identifier does not include version number, in obtaining static resource from local static resource warehouse
Latest edition.
When static resource identifier is not in this version number, the owner of default web page is expected using more quiet than more recent version
State resource, pass through not strict passive escalation policy, it is to avoid the later stage, because static resource is upgraded, changes the trouble of code.
In the present embodiment, when static resource identifier is:
<staticResoure type="text/css" staticResoureUUId="bootstrap" ></
staticResoure >
" version " parameter of above-described embodiment is not carried, i.e., the static resource identifier in the present embodiment does not include version
This number, then directly use the latest edition of static resource in local static resource warehouse.Alleviate to server end Web wrapper
The maintenance task amount of personnel's static resource insensitive to version.
In the 7th embodiment of the present invention, the browser static resource loading method is loaded in browser static resource
On the basis of method 101, the static resource warehouse in browser static resource loading method in the 7th embodiment of the present invention
Locally also include memory cell in browser, when Webpage request preserves resource file, use website where Webpage
Domain name encrypting storing resource file to memory cell;
When loading Webpage again, the domain name using website where Webpage as the key for accessing resource file, plus
Carry resource file.
In the present embodiment, static resource warehouse also includes memory cell, specifically in the present embodiment, repeats to add to reduce
The number of times of the resource file of website under same domain name is carried, by the way that memory cell storage resource file is locally located in browser.
Specific embodiment is that, when being scanned for using Baidu, almost the webpage of each Baidu needs following static file:
" aidu_jgylogo3.gif ", and webpage uses label:
<locationStore id="//www.baidu.com/img/baidu_jgylogo3.GIF" >
Statement is using storing to memory cell, if memory cell does not have file " aidu_jgylogo3.gif ", just from service
Device is downloaded, and with the domain name " baidu.com " of the page for the two-way encryption of key " aidu_jgylogo3.gif ";Work as user
Accessed again using browser:“https://www.baidu.com/s/ie=utf-8&fr=bks0000&wd=%E6%83%85%
E4%BA%BA%E8%8A%82”(Domain name is any page of " baidu.com ")When, the page also includes label:
<locationStore id="//www.baidu.com/img/baidu_jgylogo3.GIF" >
It is " aidu_jgylogo3.gif " resource in key, load store unit using the domain name " baidu.com " got
File;As access " http:During //www.sohu.com ", because the domain name obtained is not " baidu.com ", even if
Page access " aidu_jgylogo3.gif " resource file under " www.sohu.com ", because its key provided is not right,
" aidu_jgylogo3.gif " resource file will not be returned to for it, improve the security of resource file.
Fig. 6 is refer to, is the method flow of browser static resource loading method 106 in the 8th embodiment of the invention
Figure.The browser static resource loading method 106 is on the basis of browser static resource loading method 101, step S20 bags
Include:
Step S28, the domain name of website where obtaining Webpage;
Step S29, according to static resource identifier with using domain name, the domain correspondence name NameSpace from local static resource warehouse
Middle acquisition static resource.
In the present embodiment, static resource identifier includes static resource name, and the returned content in specific the present embodiment is
Html, when the html that browser detects destination server return includes any resource file, is stored to local quiet
State armory, such as when the webpage for accessing Baidu gets herein below:
<Img src=" //www.baidu.com/img/baidu_jgylogo3.GIF " alt=" arriving Baidu's homepage " title
=" arriving Baidu's homepage ">
<script type="text/javascript" src="https://ss1.bdstatic.com/
5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/jquery/jquery-
1.10.2.min_65682a2.js"></script>
<link rel="stylesheet" href="https://ss1.bdstatic.com/
5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/soutu/css/soutu.css"
type="text/css" data-for="result">
Respectively " www.baidu.com/img/baidu_jgylogo3.gif ", " https://ss1.bdstatic.com/
5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/jquery/jquery-
1.10.2.min_65682a2.js " and " ttps://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/
The file that cache/static/protocol/https/soutu/css/soutu.css " is got is stored to local static money
Source warehouse, when any page needs to access above three file for the moment under domain name " baidu.com ", directly by local static
Armory is obtained, and its real resources position is not conducted interviews, has been saved customer flow, saved access time, improved
Consumer's Experience.
The browser program provided in the present invention, on the local computer hardware of user, specially desktop computer,
Notebook computer or mobile device, user obtain user's input network address or triggering are desired access to when using browser program
Network address, by initiating to access to destination server, destination server returned content, browser program parses according to returned content
Or user is presented to after rendering, browser program realizes any embodiment in above-mentioned browser static resource loading method
Step, so browser program has above-mentioned all beneficial effects of browser static resource loading method.
The present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, and the program is processed
Device can be realized when performing such as the step of any embodiment in above-mentioned browser static resource loading method.
It is understood that in the description of this specification, reference term " embodiment ", " another embodiment ", " other
The description of embodiment " or " first embodiment ~ N embodiments " etc. means to combine the specific spy that the embodiment or example are described
Levy, structure, material or feature are contained at least one embodiment of the present invention or example.In this manual, to above-mentioned
The schematic representation of term is not necessarily referring to identical embodiment or example.Moreover, the specific features of description, structure, material
Or feature can in an appropriate manner be combined in any one or more embodiments or example.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the system of key element.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.Need explanation
It is that software product of the invention can be transferred to separately in distribution or sales process with data flow or data-signal from a machine
One machine, hardware used in transfer process(Network line, wireless signal, base station, server and terminal)It is interpreted as one
Plant storage medium.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
It is understood that these are only the preferred embodiments of the present invention, it is not intended to limit the scope of the invention,
Equivalent structure or equivalent flow conversion that every utilization description of the invention and accompanying drawing content are made, or be directly or indirectly used in
Other related technical fields, are included within the scope of the present invention.
Claims (10)
1. a kind of browser static resource loading method, it is characterised in that comprise the following steps:
Obtain the returned content of destination server, the static money that the returned content is represented including the use of static resource identifier
Source;
According to the static resource identifier, the static resource, static resource warehouse bag are obtained from static resource warehouse
Include the local static resource warehouse that static resource is locally stored in browser;
The returned content is rendered for Webpage using the static resource.
2. browser static resource loading method as claimed in claim 1, it is characterised in that the static resource is can be clear
The scripted code run look in device, and/or the pattern of the control Web page rendering effect describes file.
3. browser static resource loading method as claimed in claim 1, it is characterised in that described according to the static resource
Identifier, obtaining the static resource from static resource warehouse includes:
According to the static resource identifier, judge that the local static resource warehouse whether there is the static resource;
If in the presence of from the local static resource warehouse acquisition static resource;
If being not present, according to static resource identifier, the static resource is obtained from static resource central repository, and preserve extremely
The local static resource warehouse.
4. browser static resource loading method as claimed in claim 3, it is characterised in that the local static resource of judgement
Warehouse includes with the presence or absence of the static resource:
Judge that the local static resource warehouse whether there is the static resource of the static resource identifier indicated release;
When the local static resource warehouse has the static resource of the static resource identifier indicated release, then institute is judged
State local static resource warehouse and there is the static resource in the static resource;
When the static resource of the static resource identifier indicated release is not present in the local static resource warehouse, then judge
The static resource is not present in the static resource in the local static resource warehouse.
5. browser static resource loading method as claimed in claim 1, it is characterised in that described according to the static resource
Identifier, obtaining the static resource from static resource warehouse includes:
Judge whether the static resource identifier includes version number;
When the static resource identifier does not include version number, the static resource is obtained from the static resource central repository
Latest edition, and preserve to the local static resource warehouse.
6. browser static resource loading method as claimed in claim 1, it is characterised in that described according to the static resource
Identifier, obtaining the static resource from static resource warehouse includes:
Judge whether the static resource identifier includes version number;
When the static resource identifier does not include version number, the static resource is obtained from the local static resource warehouse
In latest edition.
7. the browser static resource loading method as described in claim any one of 1-6, it is characterised in that the static resource
Warehouse locally also includes memory cell in browser, when Webpage request preserves resource file, uses the webpage
Resource file described in the domain name encrypting storing of website where the page is to the memory cell;
When loading the Webpage again, the domain name of website where using the Webpage is literary as the resource is accessed
The key of part, loads the resource file.
8. the browser static resource loading method as described in claim any one of 1-6, it is characterised in that described in the basis
Static resource identifier, obtaining the static resource from static resource warehouse includes:
The domain name of website where obtaining the Webpage;
According to the static resource identifier with using domain name, the domain correspondence name described in the local static resource warehouse
The static resource is obtained in NameSpace, the static resource identifier includes static resource name.
9. a kind of browser program, it is characterised in that the browser program is realized as any one of claim 1 to 8
Browser static resource loading method the step of.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The step of browser static resource loading method as any one of claim 1 to 8 is realized during execution.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710230370.8A CN106980698A (en) | 2017-04-11 | 2017-04-11 | Browser static resource loading method, browser program and readable storage medium storing program for executing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710230370.8A CN106980698A (en) | 2017-04-11 | 2017-04-11 | Browser static resource loading method, browser program and readable storage medium storing program for executing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106980698A true CN106980698A (en) | 2017-07-25 |
Family
ID=59345188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710230370.8A Pending CN106980698A (en) | 2017-04-11 | 2017-04-11 | Browser static resource loading method, browser program and readable storage medium storing program for executing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106980698A (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107645422A (en) * | 2017-11-17 | 2018-01-30 | 武汉楚鼎信息技术有限公司 | A kind of website static resource update method and system and device |
| CN107943997A (en) * | 2017-12-05 | 2018-04-20 | 厦门市美亚柏科信息股份有限公司 | A kind of remote website evidence collecting method, terminal device and storage medium based on Google's browser |
| CN108124014A (en) * | 2017-12-29 | 2018-06-05 | 航天科工智慧产业发展有限公司 | A kind of browser method that intelligently prevention third party Cookie is tracked |
| CN108345482A (en) * | 2017-12-29 | 2018-07-31 | 广州品唯软件有限公司 | The self-defined edit methods of dynamic page, device, electronic equipment and storage medium |
| CN108347479A (en) * | 2018-01-26 | 2018-07-31 | 政采云有限公司 | More warehouse static resource method for uploading based on content distributing network and system |
| CN108932332A (en) * | 2018-07-05 | 2018-12-04 | 麒麟合盛网络技术股份有限公司 | The loading method and device of static resource |
| CN110020281A (en) * | 2017-09-08 | 2019-07-16 | 天津数观科技有限公司 | Method for loading target resource file of browser |
| CN113158098A (en) * | 2020-01-07 | 2021-07-23 | 百度在线网络技术(北京)有限公司 | Page generation method, device, equipment and medium |
| CN113867978A (en) * | 2021-08-13 | 2021-12-31 | 北京房江湖科技有限公司 | Dynamic component calling method, device, storage medium and computer program product |
| CN114139097A (en) * | 2021-12-07 | 2022-03-04 | 航天信息股份有限公司 | Webpage loading method and device |
| CN116842094A (en) * | 2023-07-14 | 2023-10-03 | 上海万筹科技有限公司 | Warehouse two-dimensional view display method, device, media and electronic equipment |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101382958A (en) * | 2008-10-21 | 2009-03-11 | 深圳华为通信技术有限公司 | Web page loading method and device |
| CN102081650A (en) * | 2010-12-29 | 2011-06-01 | 上海网达软件有限公司 | Method for rapidly displaying user interface of embedded type platform |
| CN103218434A (en) * | 2013-04-15 | 2013-07-24 | 北京小米科技有限责任公司 | Method and device for loading static resource |
| CN104765622A (en) * | 2014-01-03 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Page resource loading method and device |
| CN105022750A (en) * | 2014-04-28 | 2015-11-04 | 腾讯科技(北京)有限公司 | resource file loading method and device |
| CN106021300A (en) * | 2016-05-04 | 2016-10-12 | 北京思特奇信息技术股份有限公司 | Static resource real-time effecting method and system |
| CN106156291A (en) * | 2016-06-29 | 2016-11-23 | 深圳市彬讯科技有限公司 | The caching method of static resource and system thereof based on Localstroage |
-
2017
- 2017-04-11 CN CN201710230370.8A patent/CN106980698A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101382958A (en) * | 2008-10-21 | 2009-03-11 | 深圳华为通信技术有限公司 | Web page loading method and device |
| CN102081650A (en) * | 2010-12-29 | 2011-06-01 | 上海网达软件有限公司 | Method for rapidly displaying user interface of embedded type platform |
| CN103218434A (en) * | 2013-04-15 | 2013-07-24 | 北京小米科技有限责任公司 | Method and device for loading static resource |
| CN104765622A (en) * | 2014-01-03 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Page resource loading method and device |
| CN105022750A (en) * | 2014-04-28 | 2015-11-04 | 腾讯科技(北京)有限公司 | resource file loading method and device |
| CN106021300A (en) * | 2016-05-04 | 2016-10-12 | 北京思特奇信息技术股份有限公司 | Static resource real-time effecting method and system |
| CN106156291A (en) * | 2016-06-29 | 2016-11-23 | 深圳市彬讯科技有限公司 | The caching method of static resource and system thereof based on Localstroage |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110020281A (en) * | 2017-09-08 | 2019-07-16 | 天津数观科技有限公司 | Method for loading target resource file of browser |
| CN107645422A (en) * | 2017-11-17 | 2018-01-30 | 武汉楚鼎信息技术有限公司 | A kind of website static resource update method and system and device |
| CN107943997A (en) * | 2017-12-05 | 2018-04-20 | 厦门市美亚柏科信息股份有限公司 | A kind of remote website evidence collecting method, terminal device and storage medium based on Google's browser |
| CN107943997B (en) * | 2017-12-05 | 2020-08-07 | 厦门市美亚柏科信息股份有限公司 | Remote website evidence obtaining method based on Google browser, terminal device and storage medium |
| CN108345482A (en) * | 2017-12-29 | 2018-07-31 | 广州品唯软件有限公司 | The self-defined edit methods of dynamic page, device, electronic equipment and storage medium |
| CN108124014A (en) * | 2017-12-29 | 2018-06-05 | 航天科工智慧产业发展有限公司 | A kind of browser method that intelligently prevention third party Cookie is tracked |
| CN108345482B (en) * | 2017-12-29 | 2022-03-15 | 广州品唯软件有限公司 | Dynamic page custom editing method, device, electronic device and storage medium |
| CN108347479A (en) * | 2018-01-26 | 2018-07-31 | 政采云有限公司 | More warehouse static resource method for uploading based on content distributing network and system |
| CN108347479B (en) * | 2018-01-26 | 2020-12-18 | 政采云有限公司 | Method and system for uploading static resources from multiple warehouses based on content distribution network |
| CN108932332A (en) * | 2018-07-05 | 2018-12-04 | 麒麟合盛网络技术股份有限公司 | The loading method and device of static resource |
| CN113158098A (en) * | 2020-01-07 | 2021-07-23 | 百度在线网络技术(北京)有限公司 | Page generation method, device, equipment and medium |
| CN113158098B (en) * | 2020-01-07 | 2024-03-19 | 百度在线网络技术(北京)有限公司 | Page generation method, device, equipment and medium |
| CN113867978A (en) * | 2021-08-13 | 2021-12-31 | 北京房江湖科技有限公司 | Dynamic component calling method, device, storage medium and computer program product |
| CN114139097A (en) * | 2021-12-07 | 2022-03-04 | 航天信息股份有限公司 | Webpage loading method and device |
| CN116842094A (en) * | 2023-07-14 | 2023-10-03 | 上海万筹科技有限公司 | Warehouse two-dimensional view display method, device, media and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7853593B2 (en) | Content markup transformation | |
| CN101296255B (en) | Web page browsing method, system, proxy server and mobile phone browser | |
| EP2724251B1 (en) | Methods for making ajax web applications bookmarkable and crawlable and devices thereof | |
| US6353839B1 (en) | Method for inline variables management in a hypermedia display language | |
| CN104111944B (en) | Page processing method and device and page generation method and device | |
| CN109614162B (en) | Front-end loading optimization method based on component development mode and storage medium | |
| US8745341B2 (en) | Web server cache pre-fetching | |
| US20040268249A1 (en) | Document transformation | |
| KR20070086019A (en) | Reduced form related data | |
| CN103502983A (en) | Memoizing Web-browsing computation with DOM-based isomorphism | |
| CN106339414A (en) | Webpage rendering method and device | |
| US9727643B2 (en) | Managing loading of web pages | |
| US8554792B1 (en) | Method and system for providing contents available on the internet to mobile handset | |
| CN102253986A (en) | Method and device for improving webpage displaying effect in multiple terminals | |
| US10606935B2 (en) | Transforming a website for dynamic web content management | |
| US20050050516A1 (en) | Framework for providing and using schema data for markup languages | |
| US20160117392A1 (en) | Information search method and apparatus | |
| WO2002044949A9 (en) | Minimal identification of features | |
| JP2003337739A (en) | Web PAGE INFORMATION STORAGE PROCESSING PROGRAM, Web PAGE CONVERSION PROGRAM, AND CONTENTS PROVIDING SYSTEM | |
| US20090222471A1 (en) | Database exploration for building wireless component applications | |
| CN109086053A (en) | A kind of dynamic select, the load APP device control panel UI page and method | |
| CN108549706A (en) | A kind of processing method and relevant device of webpage | |
| CN108933797A (en) | For providing the method, device and equipment of user information | |
| CN105512160B (en) | Webpage code-transferring method, webpage transcoding device and Web browsing system | |
| Stepień et al. | Dynamic Analysis of Website Content Using a Mobile Application |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170725 |