CN103269377B - Process the method for script file, server, client and system - Google Patents
Process the method for script file, server, client and system Download PDFInfo
- Publication number
- CN103269377B CN103269377B CN201310215425.XA CN201310215425A CN103269377B CN 103269377 B CN103269377 B CN 103269377B CN 201310215425 A CN201310215425 A CN 201310215425A CN 103269377 B CN103269377 B CN 103269377B
- Authority
- CN
- China
- Prior art keywords
- script file
- child resource
- server
- client
- response message
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000008569 process Effects 0.000 title abstract description 11
- 230000004044 response Effects 0.000 claims abstract description 117
- 238000005457 optimization Methods 0.000 claims abstract description 90
- 238000004891 communication Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 8
- 238000005538 encapsulation Methods 0.000 claims description 8
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 230000004048 modification Effects 0.000 abstract description 2
- 238000012986 modification Methods 0.000 abstract description 2
- 239000002131 composite material Substances 0.000 description 24
- 238000006116 polymerization reaction Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 238000009877 rendering Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses the process method of script file, server, client and system, method includes: the web access requests of client is transmitted to the website belonging to webpage by server, receive the response message that website returns, judge the script file child resource of cache web pages the most in server, if it is uncached, then response message is transmitted to client, script file child resource request client sent is transmitted to website, the script file child resource receiving website return is transmitted to client, and optimizes caching after script file child resource;If cached, then according to the content modification response message cached, sending amended response message to client, receiving the script file child resource request that client sends, the script file child resource after searching corresponding optimization returns to client.The present invention can solve the problem that the webpage loading velocity problem slowly of client, achieves the webpage loading velocity accelerating client, reduces the beneficial effect of the burden of website.
Description
Technical field
The present invention relates to technical field of the computer network, be specifically related to a kind of process script file method,
Server, client and system.
Background technology
In prior art, the framework relevant to terminal browser is C/S(client/server,
Client/Server) framework.In this kind of framework, draw with rendering as in the terminal browser of client
Holding up, when client asks accession page, and during server back page resource, rendering of client is drawn
Hold up and carry out page rendering in this locality.In this framework, server (also referred to as " high in the clouds "), usually
Agency adds the processing module of caching.The request of client is sent to website by server, and returns from website
The response returned is back to client also by server, and client is at the webpage letter of the return receiving server
After breath, can be rendered by browser renders engine, thus present the page after rendering.
Javascript(script file) it is the script of a kind of lightweight, for can be inserted into html
The programming code of (Hypertext Markup Language, HTML) page.JavaScript
After inserting the html page, can be performed by browser.Script in the html page must be positioned at<script>
With</script>between label.Script can be placed on the html page<body>with<head>portion
In Fen.The mode using Javascript in html webpage mainly has two kinds: (1) outside Javascript, will
Web page interlinkage is to outside Javacript.(2) interior page Javascript, creates embedding in webpage
Javascript。
For the Javascript of external mode, client needs to obtain this Javascript money from website
Source, applies this Javascript child resource when this locality renders.Owing to the transmission of Javascript child resource is made
Transport layer protocol be Transmission Control Protocol.TCP connection establishment needs to expend the more time, along with webpage
The increase of dynamic effect, the quantity of the outside Javascript child resource included in webpage also gets more and more.
In prior art, often obtain an outside Javascript child resource, be required for setting up TCP even with website
Connect, thus produce webpage loading velocity slow, the problem that the load time is long.Additionally, each client
When loading the webpage of website, it is required for setting up TCP with this website and is connected to download Javascript money
Source, the system task burden and the communications burden that thereby result in website dramatically increase, and also further result in
The loading velocity of webpage is slow.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
Ground solves the process method of script file, server, client and the system of the problems referred to above.
According to one aspect of the present invention, it is provided that a kind of method processing script file, described method bag
Include:
The web access requests of client is transmitted to the website belonging to webpage that request accesses by server, connects
Receive the response message that described website returns, it is judged that described server has cached the script of described webpage the most
File child resource,
If the script file child resource of uncached described webpage in described server, then server will receive
Response message be transmitted to described client, the request of the script file child resource that described client sent turns
Issue described website, after receiving the script file child resource that described website returns, by described script file
Child resource is transmitted to described client, is optimized and is buffered in described clothes by described script file child resource
In business device;
If having cached the script file child resource of described webpage in described server, then server is according to institute
State the content cached in server the response message received is modified, send to described client and repair
Response message after changing, after receiving the script file child resource request that described client sends, described
Server is searched the script file child resource after the optimization of correspondence, the script literary composition after the optimization that will find
Part child resource returns to described client.
Wherein, described script file child resource be optimized include:
Go the redundancy in script file child resource unless each.
Wherein, described being optimized by described script file child resource includes:
Multiple script file child resources are grouped by the semanteme according to script file child resource and/or logic;
In each packet, the script file child resource in packet is polymerized to a script file child resource.
Wherein, described being optimized by described script file child resource includes:
For the script file child resource after optimizing, generate corresponding URL;
The corresponding relation of the URL of the script file child resource after the URL of the webpage of record access and optimization.
Wherein, the response message received is entered by described server according to the content cached in described server
Row amendment includes:
The URL of the webpage of access, the script that will comprise in response message is searched in the corresponding relation of record
The URL of file child resource is revised as the URL of the script file child resource after the optimization of correspondence.
Wherein, the script file child resource after the described optimization that will find returns to described client and includes:
The heading of the message of the script file child resource after encapsulation optimizes adds script file and saves word
Saving field, this script file is saved in byte field before being the script file child resource after optimizing and optimization
Script file child resource compares the byte number of minimizing.
The script file accessing webpage is loaded in client according to an aspect of the invention, it is provided a kind of
Method, described method includes:
User end to server sends web access requests, and receives the response message that server returns, institute
State response message and be the response message that returns of website belonging to described webpage or after it is revised by described server
Response message;
Response message is resolved by client, and the content according to parsing sends script file to server
Child resource is asked, and receives the script file child resource that server returns, and loads this script file child resource.
According to another aspect of the present invention, it is provided that a kind of server processing script file, described clothes
Business device includes: proxy module, cache module and script file resource optimization module,
Described proxy module, is suitable to the web access requests of client is transmitted to the webpage institute that request accesses
Belong to website, receive the response message that described website returns, it is judged that described cache module has cached institute the most
State the script file child resource of webpage, will determine that result notifies to described script file resource optimization module;
Described proxy module, is further adapted for uncached described webpage in judged result is described cache module
During script file child resource, the response message of reception is transmitted to described client, receives described client
The script file child resource request sent, is transmitted to described website by the request of described script file child resource,
Receive the script file child resource that described website returns, and described script file child resource is transmitted to described
Client;
Described script file resource optimization module specifically includes: script file optimizes submodule and script file
Amendment submodule;
Described script file optimizes submodule, is suitable to uncached institute in judged result is described cache module
When stating the script file child resource of webpage, the script file child resource received from website is optimized, and
It is cached to described cache module;
Described script file amendment submodule, is suitable to cache institute in judged result is described cache module
When stating the script file child resource of webpage, according to the content cached in the described cache module net to receiving
The response message returned of standing is modified;
Described proxy module, is further adapted for described amended response message is sent to described client, connects
After receiving the script file child resource request that described client sends, described cache module is searched correspondence
Optimization after script file child resource, the script file child resource after the optimization that will find returns to institute
State client.
Described cache module, is suitable to the script file child resource after cache optimization.
Wherein, described script file optimizes submodule, and be suitable in script file child resource unless each is superfluous
Remaining information.
Wherein, described script file optimizes submodule, be suitable to semanteme according to script file child resource and/
Or logic, multiple script file child resources are grouped, in each packet, by the script file in packet
Child resource is polymerized to a script file child resource.
Wherein, described script file optimizes submodule, is suitable for the script file child resource after optimization, raw
The URL of the script file child resource after becoming corresponding URL, the URL of the webpage of record access and optimizing
Corresponding relation, will optimize after script file child resource be cached to described cache module.
Wherein, described script file amendment submodule, be suitable to search access in the corresponding relation of record
The URL of webpage, is revised as the excellent of correspondence by the URL of the script file child resource comprised in response message
The URL of the script file child resource after change.
Wherein, described proxy module, be suitable to the report of the message of the script file child resource after encapsulation optimizes
Adding script file in literary composition head and save byte field, this script file is saved after filling in optimization in byte field
Script file child resource with optimize before script file child resource compared with the byte number of minimizing.
According to another aspect of the present invention, it is provided that a kind of client loading the script file accessing webpage
End, described client includes:
Communication module, is suitable to send web access requests to server, and receives the response that server returns
Information, described response message is the response message of the website return belonging to described webpage or described server pair
Its amended response message;
Parsing module, is suitable to resolve response message;
Described communication module, is further adapted for sending script file child resource according to the content parsed to server
Request, and receive the script file child resource that server returns;
Load-on module, is suitable to load the script file child resource that the server received returns.
According to another aspect of the present invention, it is provided that a kind of system loading the script file accessing webpage,
Described system includes: described server, and described client.
According to technical scheme, can the Javascript child resource of cache web pages in the server,
And this Javascript child resource is optimized, comprise this Javascript money when client loads again
During the webpage in source, content in the response message that server amendment website returns so that client without with net
Station is set up TCP and is connected, and directly obtains the Javascript child resource after the optimization of caching from server.
Thereby, it is possible to reduce the quantity that client is connected when loading webpage with the TCP set up between website, thus
Solve that the TCP set up with website due to client is connected too much and the webpage loading velocity that causes is slow,
The problem that load time is long;Achieve the webpage loading velocity accelerating client, and reduce website
System task burden and the beneficial effect of communications burden.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 shows the structure chart of the server processing script file according to an embodiment of the invention;
Fig. 2 shows the structure chart of script file resource optimization module according to an embodiment of the invention;
Fig. 3 shows the client loading the script file accessing webpage according to an embodiment of the invention
Structure chart;
Fig. 4 shows the system of the script file loading access webpage according to an embodiment of the invention
Structure chart;
Fig. 5 shows the flow chart of the method processing script file according to an embodiment of the invention;
Fig. 6 shows client first passage server access website according to an embodiment of the invention
Time, the operational flowchart of server;
Fig. 7 shows that client is again by server access website according to an embodiment of the invention
Time, the operational flowchart of server;And
Fig. 8 shows the script file loading access webpage according to an embodiment of the invention in client
The flow chart of method.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
As it is shown in figure 1, be the structure of the server processing script file according to one embodiment of the invention
Figure.Server 100 includes: proxy module 110, cache module 120 and script file resource optimization mould
Block 130.
Proxy module 110, is suitable to the web access requests of client 200 is transmitted to the net that request accesses
Page affiliated web site, receives the response message that website returns, it is judged that the most cached this in cache module 120
The Javascript child resource of webpage, will determine that result notifies to script file resource optimization module 130.
Proxy module 110, is further adapted for this webpage uncached in judged result is cache module 120
During Javascript child resource, the response message of reception is transmitted to client 200, receives client 200
The Javascript child resource request sent, is transmitted to website by the request of this Javascript child resource, receives
The Javascript child resource that website returns, and this Javascript child resource is transmitted to client 200.
As in figure 2 it is shown, be the structure of the script file resource optimization module according to one embodiment of the invention
Figure.Script file resource optimization module 130 specifically includes: script file optimizes submodule 132 and script
File modification submodule 134.
Script file optimizes submodule 132, and being suitable in the judged result of proxy module 110 is cache module
In 120 during the Javascript child resource of this webpage uncached, by this webpage of receiving from website
Javascript child resource is optimized, and will optimize after Javascript child resource be cached to cache module
120。
In one embodiment, what script file optimization submodule 132 was carried out is optimized for de-redundancy.Foot
Presents optimizes submodule 132 and goes the redundancy in Javascript child resource unless each.
For example, script file optimize submodule 132 get rid of blank in Javascript child resource and
Annotation.
By going the redundancy in Javascript child resource unless each, it is possible to obtain in client
Reduce the flow of network transmission during Javascript child resource, improve webpage access speed further, and save
The network traffics of client.
In another specific embodiment, what script file optimization submodule 132 was carried out is optimized for polymerization.Foot
Presents optimizes submodule 132 according to the semanteme of Javascript child resource and/or logic, by multiple
Javascript child resource is grouped, and in each packet, is polymerized to by the Javascript child resource in packet
One Javascript child resource.
For example, script file optimization submodule 132 analyzes the phase between each Javascript child resource
Mutual relation.Logical relation, script literary composition is there may be between the different Javascript child resource of same website
Piece optimization submodule 132 is according to the semanteme of Javascript child resource and/or logic, by multiple Javascript
Child resource is grouped so that do not have semanteme and logic after assigning to the Javascript child resource polymerization of same group
Conflict.Script file optimizes submodule 132 and the Javascript child resource in each group is aggregated into one
Javascript child resource.Such as, webpage has 6 Javascript child resources, numbering 1 to 6.Script
File optimizes submodule 132 according to the semanteme of Javascript child resource and/or logic by 6 Javascript
Child resource is divided into three groups, and the Javascript child resource of numbering 1-3 is one group, the Javascript of numbering 4 and 6
Child resource is one group, and the Javascript child resource of numbering 5 is one group, is polymerized respectively in 3 groups,
Thus, the 6 of website Javascript child resources are aggregated into 3 by script file optimization submodule 132
Javascript child resource.
By multiple Javascript child resources are polymerized, it is possible to information in Javascript child resource
In the case of not being damaged, when reducing client-access webpage, TCP connects, thus increases client further
End accesses the speed of webpage.
Script file amendment submodule 134, is suitable to cache this in judged result is cache module 120
During the Javascript child resource of webpage, according to the content cached in cache module 120 website to receiving
The response message returned is modified.
Proxy module 110, is further adapted for amended response message is sent to client 200, receives visitor
After the Javascript child resource request that family end 200 sends, cache module 120 is searched the optimization of correspondence
After Javascript child resource, the Javascript child resource after the optimization that will find returns to client
200。
Cache module 120, is suitable to the Javascript child resource after cache optimization.
In one embodiment, script file optimizes submodule 132 is the Javascript money after optimizing
Source, the Javascript child resource after generating corresponding URL, the URL of the webpage of record access and optimizing
The corresponding relation of URL, the Javascript child resource after optimizing is cached to cache module 120.
Script file amendment submodule 134 searches the URL of the webpage of access in the corresponding relation of record,
After the URL of the Javascript child resource comprised in response message is revised as the optimization of correspondence
The URL of Javascript child resource.
Proxy module 110 receive client 200 send Javascript child resource request after, according to
The URL of the Javascript child resource after optimization in the request of Javascript child resource is at cache module 120
Javascript child resource after the middle optimization searching correspondence, Javascript after the optimization that will find
Resource returns to client 200.
Additionally, in another specific embodiment, the proxy module 110 Javascript after encapsulation optimizes
Adding Javascript in the heading of the message of child resource and save byte field, this Javascript saves word
Javascript child resource after filling in optimization in joint field subtracts compared with the Javascript child resource before optimization
Few byte number.
Javascript child resource optimization can save flow, therefore by adding in the heading of message
Javascript saves byte field, such as Javascript-Save-Bytes field, it is possible to make user know
The byte number that in this visit webpage, client 200 is saved.
By technical scheme in the embodiment of the present invention, it is possible to reduce load webpage time client and website between
The quantity that the TCP set up connects, thus solve the TCP set up with website due to client and be connected
Many and that cause webpage loading velocity is slow, the problem that the load time is long;Achieve and accelerate client
Webpage loading velocity, and reduce system task burden and the beneficial effect of communications burden of website.
Access as a example by the URL webpage for http://www.a.com by client 200 below, to the present invention
Process script file server 100 be illustrated.
Wherein, described client 200 can be browser in mobile phone terminal, it is also possible to for PC(people's electricity
Brain, Personal Computer) browser in terminal, or other web access requests sides, do not have at this
There is restriction especially.
When client 200 request accesses http://www.a.com, client 200 is to server 100
Send web access requests.
The proxy module 110 of server 100 receives the web access requests that client 200 sends, by visitor
The web access requests of family end 200 is transmitted to the webpage affiliated web site that request accesses, and receives what website returned
Response message, it is judged that the most cached the Javascript of this webpage in the cache module 120 of server 100
Child resource.
When client 200 first passage server 100 accesses http://www.a.com, proxy module
110 receive the response message that website returns, it is judged that do not cache this webpage in cache module 120
Javascript child resource.
Additionally, proxy module 110 receives the response message that website returns, and judge cache module 120
In this webpage uncached Javascript child resource after, the response message of reception is transmitted to client 200.
After client 200 receives the webpage response of http://www.a.com, analyzing web page content obtains net
Outside Javascript child resource in Ye, the URL of those Javascript child resources is respectively
Http:// xxx.b.js, http://xxx.c.js and http://xxx.d.js.Client 200 is to server 100
Send the Javascript child resource request including above-mentioned URL.
Proxy module 110 receives the Javascript child resource request that client 200 sends, should
The request of Javascript child resource is transmitted to website, receives the Javascript child resource that website returns, and will
This Javascript child resource is transmitted to client 200.Client 200 receives what server 100 forwarded
Javascript child resource, uses this Javascript child resource to carry out webpage and renders.
Additionally, the script file of script file resource optimization module 130 optimizes submodule 132 is acting on behalf of mould
After the judged result of block 110 is the Javascript child resource of this webpage uncached in cache module 120, will
The Javascript child resource of this webpage that proxy module 110 receives from website is optimized, and by after optimization
Javascript child resource be cached to cache module 120.Further, script file optimization submodule 132 is
Javascript child resource after optimization generates corresponding URL, the URL of the webpage of record access and optimization
After the corresponding relation of URL of Javascript child resource, the Javascript child resource caching after optimizing
To cache module 120.
Specifically, script file optimizes the http://xxx.b.js that website is returned by submodule 132,
3 corresponding with http://xxx.d.js for http://xxx.c.js Javascript child resources carry out de-redundancy operation,
Then 3 Javascript child resources after de-redundancy are polymerized.Script file optimizes submodule 132
Http:// xxx.b.js and http://xxx.c.js is divided into one group, http://xxx.d.js is divided into another group, will
Often in group, Javascript child resource aggregates into a Javascript child resource, the Javascript after polymerization
The URL that child resource is corresponding be respectively http://xxx.b+c.composite.js and
http://xxx.d.composite.js.Script file optimize submodule 132 record http://www.a.com with
Corresponding relation between http://xxx.b+c.composite.js and http://xxx.d.composite.js, will be poly-
Two Javascript child resources after conjunction are cached to cache module 120.
When client 200 accesses http://www.a.com again by server 100, client 200
Web access requests is sent to server 100.
The web access requests of client 200 is transmitted to request and visits by the proxy module 110 of server 100
The webpage affiliated web site asked, receives the response message that website returns, it is judged that the caching mould of server 100
Block 120 has cached the Javascript child resource of this webpage.
The script file amendment submodule 134 of script file resource optimization module 130 is according to record access
The URL of webpage with optimize after Javascript child resource URL corresponding relation to receive website return
The response message returned is modified.
Specifically, script file amendment submodule 134 is searched in the corresponding relation of record
Http:// www.a.com, is revised as the http://xxx.b.js comprised in response message and http://xxx.c.js
Http:// xxx.b+c.composite.js, is revised as the http://xxx.d.js comprised in response message
http://xxx.d.composite.js。
Amended response message is sent to client 200 by proxy module 110.
Client 200 receives the response message that proxy module 110 sends, and parses outside Javascript
The URL that child resource is corresponding be respectively http://xxx.b+c.composite.js and
Http:// xxx.d.composite.cs, sends the Javascript money including above-mentioned URL to server 100
Source is asked.
After proxy module 110 receives the Javascript child resource request that client 200 sends, parse
The URL of the Javascript child resource after optimization, finds excellent according to this URL in cache module 120
Javascript child resource after change, returns to client 200 by this Javascript child resource.
Specifically, proxy module 110 parse http://xxx.b+c.composite.js and
Http:// xxx.d.composite.js, searches http://xxx.b+c.composite.js in cache module 120
The Javascript child resource of the polymerization corresponding with http://xxx.d.composite.js, the polymerization that will find
Javascript child resource return to client 200.
See Fig. 3, it is shown that load the script file of access webpage according to an embodiment of the invention
The structure chart of client 200.Client 200 includes: communication module 210, parsing module 220 and add
Carry module 230.
Communication module 210, is suitable to send web access requests to server 100, and receives server 100
The response message returned, described response message is response message or the institute of the website return belonging to described webpage
State server to its amended response message.
Parsing module 220, is suitable to resolve response message.
Communication module 210, is further adapted for sending Javascript according to the content parsed to server 100
Resource request, and receive the Javascript child resource that server 100 returns.
Load-on module 230, is suitable to load the Javascript child resource that the server 100 received returns.
See Fig. 4, it is shown that load the script file of access webpage according to an embodiment of the invention
The structure chart of system.System includes aforementioned server 100 and multiple aforementioned client 200.Wherein, clothes
Can be directly connected between business device 100 and client 200, it is also possible to connected by network, there is no spy at this
Do not limit.
See Fig. 5, it is shown that process the flow process of the method for script file according to an embodiment of the invention
Figure.Described method comprises the steps.
Step S510, the web access requests of client is transmitted to belonging to the webpage that request accesses by server
Website, receive website return response message.
Step S520, server judges the most to have cached in this server the script file of this webpage
Javascript child resource, if it is, perform step S540, otherwise, performs step S530.
Step S530, the response message of reception is transmitted to institute's client by server, client is sent
The request of Javascript child resource is transmitted to website, after receiving the Javascript child resource that website returns,
This Javascript child resource is transmitted to client, Javascript child resource is optimized and is buffered in
In server.
In one embodiment, de-redundancy it is optimized for described in.Described Javascript child resource is carried out excellent
Change includes: go the redundancy in Javascript child resource unless each.
For example, the blank during server gets rid of Javascript child resource and annotation.
By going the redundancy in Javascript child resource unless each, it is possible to obtain in client
Reduce the flow of network transmission during Javascript child resource, improve webpage access speed further, and save
The network traffics of client.
In another specific embodiment, described in be optimized for polymerization.Described Javascript child resource is carried out excellent
Change includes: according to semanteme and/or the logic of Javascript child resource, divided by multiple Javascript child resources
Group;In each packet, the Javascript child resource in packet is polymerized to a Javascript money
Source.
For example, the mutual relation between each Javascript child resource of server analysis.Same net
Logical relation is there may be, according to Javascript child resource between the different Javascript child resource stood
Multiple Javascript child resources are grouped so that assign to the Javascript of same group by semanteme and/or logic
Semantic and logic conflict is not had after child resource polymerization.Server is by the Javascript child resource in each group
Aggregate into a Javascript child resource.Such as, webpage has 6 Javascript child resources, numbering
1 to 6.6 Javascript are provided by server according to semanteme and/or the logic of Javascript child resource
Source is divided into three groups, and the Javascript child resource of numbering 1-3 is one group, the Javascript of numbering 4 and 6
Child resource is one group, and the Javascript child resource of numbering 5 is one group, is polymerized respectively in 3 groups,
Thus, the 6 of website Javascript child resources are aggregated into 3 Javascript child resources by server.
By multiple Javascript child resources are polymerized, it is possible to information in Javascript child resource
In the case of not being damaged, when reducing client-access webpage, TCP connects, thus increases client further
End accesses the speed of webpage.
Step S540, the response message received is carried out by server according to the content cached in this server
Amendment, sends amended response message to client, receives the Javascript money that client sends
After the request of source, this server is searched the Javascript child resource after the optimization of correspondence, by find
Javascript child resource after optimization returns to client.
In one embodiment, server is that the Javascript child resource after optimizing generates correspondence
URL, the URL of the webpage of record access close with the corresponding of the URL of the Javascript child resource after optimization
System.
Server according to the content cached in this server to receive response message modify time,
The URL, the Javascript that will comprise in response message of the webpage of access is searched in the corresponding relation of record
The URL of child resource is revised as the URL of the Javascript child resource after the optimization of correspondence.
Server is after receiving the Javascript child resource request that client sends, according to Javascript
After the URL of the Javascript child resource after optimization in child resource request searches corresponding optimization
Javascript child resource, the Javascript child resource after the optimization that will find returns to client.
Additionally, in another specific embodiment, server Javascript child resource after encapsulation optimizes
Adding Javascript in the heading of message and save byte field, this Javascript saves in byte field
The byte of minimizing compared with Javascript child resource before filling in the Javascript child resource after optimization and optimizing
Number.
Javascript child resource optimization can save flow, therefore by adding in the heading of message
Javascript saves byte field, such as Javascript-Save-Bytes field, it is possible to make user know
The byte number that in this visit webpage, client is saved.
By technical scheme in the embodiment of the present invention, it is possible to reduce load webpage time client and website between
The quantity that the TCP set up connects, thus solve the TCP set up with website due to client and be connected
Many and that cause webpage loading velocity is slow, the problem that the load time is long;Achieve and accelerate client
Webpage loading velocity, and reduce system task burden and the beneficial effect of communications burden of website.
Place below as a example by client-access URL is for the webpage of http://www.a.com, to the present invention
The method of reason script file is illustrated.
Wherein, described client can be browser in mobile phone terminal, it is also possible to for PC(PC,
Personal Computer) browser in terminal, or other web access requests sides, spy is not had at this
Do not limit.
When client request accesses http://www.a.com, user end to server sends web page access
Request.See Fig. 6, it is shown that client first passage server is visited according to an embodiment of the invention
When asking website, the operational flowchart of server.
Step S610, server receives the web access requests that client sends, and is visited by the webpage of client
The request of asking is transmitted to the webpage affiliated web site that request accesses.
Step S620, server receives the response message that website returns, it is judged that the most slow in this server
Deposit the Javascript child resource of this webpage, the response message of reception is transmitted to client.
After client receives the webpage response of http://www.a.com, analyzing web page content obtains in webpage
Outside Javascript child resource, the URL of those Javascript child resources is respectively http://xxx.b.js,
Http:// xxx.c.js and http://xxx.d.js.User end to server sends and includes above-mentioned URL's
Javascript child resource is asked.
Step S630, server receives the Javascript child resource request that client sends, should
The request of Javascript child resource is transmitted to website, receives the Javascript child resource that website returns, and performs
Step S640 and step S650.
Step S640, the Javascript child resource that the website of reception returns is transmitted to client by server.
Client receives the Javascript child resource that server forwards, and uses this Javascript child resource
Carry out webpage to render.
Step S650, the Javascript child resource of the webpage that website is returned by server is optimized, and
Javascript child resource after cache optimization, and generate correspondence for the Javascript child resource after optimizing
URL, the URL of the webpage of record access with optimize after URL right of Javascript child resource
Should be related to.
Specifically, the http://xxx.b.js that website is returned by server, http://xxx.c.js and
3 corresponding for http://xxx.d.js Javascript child resources carry out de-redundancy operation, then by after de-redundancy
3 Javascript child resources be polymerized.Server is by http://xxx.b.js and http://xxx.c.js
It is divided into one group, http://xxx.d.js is divided into another group, Javascript child resource in often group is aggregated into
One Javascript child resource, the URL that Javascript child resource after polymerization is corresponding is respectively
Http:// xxx.b+c.composite.js and http://xxx.d.composite.js.Server record
Between http://www.a.com and http://xxx.b+c.composite.js and http://xxx.d.composite.js
Corresponding relation.
When client is again by server access http://www.a.com, user end to server is sent out
Send web access requests.See Fig. 7, it is shown that client is led to again according to an embodiment of the invention
When crossing server access website, the operational flowchart of server.
Step S710, server receives the web access requests that client sends, is turned by web access requests
The webpage affiliated web site that the request of issuing accesses, receives the response message that website returns, it is judged that this server
In cached the Javascript child resource of this webpage.
Step S720, server according to the URL of the webpage of record access with optimize after Javascript
The corresponding relation of the URL of child resource, the response message returning to the website received is modified.
Specifically, server searches http://www.a.com in the corresponding relation of record, response is believed
The http://xxx.b.js and the http://xxx.c.js that comprise in breath are revised as http://xxx.b+c.composite.js,
The http://xxx.d.js comprised in response message is revised as http://xxx.d.composite.js.
Step S730, amended response message is sent to client by server.
Client receives the response message that server sends, and parses outside Javascript child resource corresponding
URL be respectively http://xxx.b+c.composite.js and http://xxx.d.composite.cs, to service
Device sends the Javascript child resource request including above-mentioned URL.
Step S740, after server receives the Javascript child resource request that client sends, resolves
Go out the URL of the Javascript child resource after optimizing, find the Javascript after optimization according to this URL
Child resource, returns to client by this Javascript child resource.
Specifically, after server receives the Javascript child resource request that client sends, parse
Http:// xxx.b+c.composite.js and http://xxx.d.composite.js, searches
The Javascript of the polymerization that http://xxx.b+c.composite.js is corresponding with http://xxx.d.composite.js
Child resource, returns to client by the Javascript child resource of the polymerization found.
See Fig. 8, it is shown that load the foot of access webpage according to an embodiment of the invention in client
The flow chart of the method for presents.Described method comprises the steps.
Step S810, user end to server sends web access requests.
Step S820, client receives the response message that server returns, and described response message is described net
The response message of the website return belonging to Ye or described server are to its amended response message.
Step S830, response message is resolved by client, and the content according to parsing is sent out to server
Javascript child resource is sent to ask.
Step S840, client receives the Javascript child resource that server returns, loads this Javascript
Child resource.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
The some or all portions processed in the server of script file, client and system of the embodiment of the present invention
The some or all functions of part.The present invention is also implemented as performing method as described herein
Part or all equipment or device program (such as, computer program and computer program product
Product).The program of such present invention of realization can store on a computer-readable medium, or can have
There is the form of one or more signal.Such signal can be downloaded from internet website and obtain, or
Person provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and
Those skilled in the art can design replacement enforcement without departing from the scope of the appended claims
Example.In the claims, any reference marks that should not will be located between bracket is configured to claim
Restriction.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at unit
Word "a" or "an" before part does not excludes the presence of multiple such element.The present invention can borrow
Help include the hardware of some different elements and realize by means of properly programmed computer.At row
If having lifted in the unit claim of equipment for drying, several in these devices can be by same firmly
Part item specifically embodies.Word first, second and third use do not indicate that any order.Can
It is title by these word explanations.
Embodiment of the invention discloses that A1, a kind of method processing script file, described method includes:
The web access requests of client is transmitted to the website belonging to webpage that request accesses by server, receives institute
State the response message that website returns, it is judged that described server has cached the script file of described webpage the most
Child resource, if the script file child resource of uncached described webpage in described server, then server will
The response message received is transmitted to described client, and the script file child resource described client sent please
Ask and be transmitted to described website, after receiving the script file child resource that described website returns, by described script
File child resource is transmitted to described client, is optimized and is buffered in institute by described script file child resource
State in server;If described server has cached the script file child resource of described webpage, then service
The response message received is modified, to described client by device according to the content cached in described server
End sends amended response message, after receiving the script file child resource request that described client sends,
The script file child resource after the optimization of correspondence is searched, after the optimization that will find in described server
Script file child resource returns to described client.A2, according to the method described in A1, wherein, by institute
State script file child resource to be optimized and include: go the redundancy in script file child resource unless each.
A3, according to the method described in A1 or A2, wherein, described described script file child resource is carried out excellent
Change includes: according to semanteme and/or the logic of script file child resource, be grouped by multiple script file child resources;
In each packet, the script file child resource in packet is polymerized to a script file child resource.A4、
According to the method described in A1, wherein, described script file child resource is optimized includes: for optimizing
After script file child resource, generate corresponding URL;After the URL of the webpage of record access and optimization
The corresponding relation of URL of script file child resource.A5, according to the method described in A4, wherein, institute
State server according to the content cached in described server, the response message received to be modified and included:
The URL of the webpage of access, the script file that will comprise in response message is searched in the corresponding relation of record
The URL of child resource is revised as the URL of the script file child resource after the optimization of correspondence.A6, according to A1
To the method described in any one of A5, wherein, the script file child resource after the described optimization that will find
Return to described client include: in the heading of the message of the script file child resource after encapsulation optimizes
Adding script file and save byte field, this script file is saved in byte field as the script literary composition after optimizing
Part child resource is the byte number of minimizing compared with the script file child resource before optimization.
Embodiments of the invention also disclose B7, a kind of load the script file accessing webpage in client
Method, described method includes: user end to server sends web access requests, and receives server and return
The response message returned, described response message is the response message or described that the website belonging to described webpage returns
Server is to its amended response message;Response message is resolved by client, according to parse
Content sends the request of script file child resource to server, and receives the script file money that server returns
Source, loads this script file child resource.
Embodiments of the invention also disclose C8, a kind of server processing script file, described server
Including: proxy module, cache module and script file resource optimization module, described proxy module, be suitable to
The web access requests of client is transmitted to the webpage affiliated web site that request accesses, receives described website and return
The response message returned, it is judged that the most cached the script file child resource of described webpage in described cache module,
Will determine that result notifies to described script file resource optimization module;Described proxy module, is further adapted for sentencing
When disconnected result is the script file child resource of uncached described webpage in described cache module, the sound that will receive
Answer information to be transmitted to described client, receive the script file child resource request that described client sends, will
The request of described script file child resource is transmitted to described website, receives script file that described website returns
Resource, and described script file child resource is transmitted to described client;Described script file resource optimization
Module specifically includes: script file optimizes submodule and script file amendment submodule;Described script file
Optimize submodule, be suitable to the script file of uncached described webpage in judged result is described cache module
During child resource, the script file child resource received from website is optimized, and is cached to described caching mould
Block;Described script file amendment submodule, is suitable to cache institute in judged result is described cache module
When stating the script file child resource of webpage, according to the content cached in the described cache module net to receiving
The response message returned of standing is modified;Described proxy module, is further adapted for described amended response letter
Breath is sent to described client, after receiving the script file child resource request that described client sends,
Described cache module is searched the script file child resource after the optimization of correspondence, after the optimization that will find
Script file child resource returns to described client.Described cache module, is suitable to the script after cache optimization
File child resource.C9, according to the server described in C8, wherein, described script file optimize submodule,
Be suitable to the redundancy in script file child resource unless each.C10, according to the clothes described in C8 or C9
Business device, wherein, described script file optimizes submodule, be suitable to semanteme according to script file child resource and/
Or logic, multiple script file child resources are grouped, in each packet, by the script file in packet
Child resource is polymerized to a script file child resource.C11, according to the server described in C8, wherein, institute
State script file and optimize submodule, be suitable for the script file child resource after optimization, generate corresponding URL,
The corresponding relation of the URL of the script file child resource after the URL of the webpage of record access and optimization, will
Script file child resource after optimization is cached to described cache module.C12, according to the service described in C11
Device, wherein, described script file amendment submodule, be suitable to search access in the corresponding relation of record
The URL of webpage, is revised as the excellent of correspondence by the URL of the script file child resource comprised in response message
The URL of the script file child resource after change.C13, according to the server described in any one of C8 to C12,
Wherein, described proxy module, be suitable to the heading of the message of the script file child resource after encapsulation optimizes
Middle interpolation script file saves byte field, and this script file saves the foot after filling in optimization in byte field
Presents child resource is the byte number of minimizing compared with the script file child resource before optimization.
Embodiments of the invention also disclose D14, a kind of client loading the script file accessing webpage,
Described client includes: communication module, is suitable to send web access requests to server, and receives service
The response message that device returns, described response message be the response message that returns of website belonging to described webpage or
Described server is to its amended response message;Parsing module, is suitable to resolve response message;
Described communication module, is further adapted for sending the request of script file child resource according to the content parsed to server,
And receive the script file child resource that server returns;Load-on module, is suitable to load the server received
The script file child resource returned.
Embodiments of the invention also disclose E15, a kind of system loading the script file accessing webpage,
Described system includes: the server as described in claim any one of C8 to C13, and as right is wanted
Seek the client described in D14.
Claims (15)
1. the method processing script file, described method includes:
The web access requests of client is transmitted to the website belonging to webpage that request accesses by server, connects
Receive the response message that described website returns, it is judged that described server has cached the script of described webpage the most
File child resource,
If the script file child resource of uncached described webpage in described server, then server will receive
Response message be transmitted to described client, the request of the script file child resource that described client sent turns
Issue described website, after receiving the script file child resource that described website returns, by described script file
Child resource is transmitted to described client, is optimized and is buffered in described clothes by described script file child resource
In business device;
If having cached the script file child resource of described webpage in described server, then server is according to institute
State the content cached in server to modify, the response message received by what response message comprised
After the URL of described script file child resource is revised as the corresponding optimization cached in described server
The URL of script file child resource, sends amended response message to described client, receives described
After the script file child resource request that client sends, after described server is searched the optimization of correspondence
Script file child resource, the script file child resource after the optimization that will find returns to described client.
Method the most according to claim 1, wherein,
Described script file child resource is optimized and includes:
Go the redundancy in script file child resource unless each.
Method the most according to claim 1 and 2, wherein,
Described being optimized by described script file child resource includes:
Multiple script file child resources are grouped by the semanteme according to script file child resource and/or logic;
In each packet, the script file child resource in packet is polymerized to a script file child resource.
Method the most according to claim 1, wherein,
Described script file child resource is optimized and includes:
For the script file child resource after optimizing, generate corresponding URL;
The corresponding relation of the URL of the script file child resource after the URL of the webpage of record access and optimization.
Method the most according to claim 4, wherein,
The response message received is modified by described server according to the content cached in described server
Including:
The URL of the webpage of access, the script that will comprise in response message is searched in the corresponding relation of record
The URL of file child resource is revised as the URL of the script file child resource after the optimization of correspondence.
Method the most according to claim 1, wherein,
Script file child resource after the described optimization that will find returns to described client and includes:
The heading of the message of the script file child resource after encapsulation optimizes adds script file and saves word
Joint field, before this script file is saved the script file child resource after filling in optimization in byte field and is optimized
Script file child resource compare the byte number of minimizing.
7. the method loading, in client, the script file accessing webpage, described method includes:
User end to server sends web access requests, and receives the response message that server returns, institute
State response message and be the response message that returns of website belonging to described webpage or after it is revised by described server
Response message;Wherein, described amended response message includes: described in comprising in response message
The URL of script file child resource is replaced by the script after the corresponding optimization cached in described server
The response message obtained after the URL of file child resource;
Response message is resolved by client, and the content according to parsing sends script file to server
Child resource is asked, and receives the script file child resource that server returns, and loads this script file child resource.
8. processing a server for script file, described server includes: proxy module, cache module
With script file resource optimization module,
Described proxy module, is suitable to the web access requests of client is transmitted to the webpage institute that request accesses
Belong to website, receive the response message that described website returns, it is judged that described cache module has cached institute the most
State the script file child resource of webpage, will determine that result notifies to described script file resource optimization module;
Described proxy module, is further adapted for uncached described webpage in judged result is described cache module
During script file child resource, the response message of reception is transmitted to described client, receives described client
The script file child resource request sent, is transmitted to described website by the request of described script file child resource,
Receive the script file child resource that described website returns, and described script file child resource is transmitted to described
Client;
Described script file resource optimization module specifically includes: script file optimizes submodule and script file
Amendment submodule;
Described script file optimizes submodule, is suitable to uncached institute in judged result is described cache module
When stating the script file child resource of webpage, the script file child resource received from website is optimized, and
It is cached to described cache module;
Described script file amendment submodule, is suitable to cache institute in judged result is described cache module
When stating the script file child resource of webpage, according to the content cached in the described cache module net to receiving
The response message returned of standing is modified, by the described script file child resource that comprises in response message
URL is revised as the URL of the script file child resource after the corresponding optimization cached in described server;
Described proxy module, is further adapted for amended response message is sent to described client, receives
After the script file child resource request that described client sends, described cache module is searched the excellent of correspondence
Script file child resource after change, the script file child resource after the optimization that will find returns to described visitor
Family end;
Described cache module, is suitable to the script file child resource after cache optimization.
Server the most according to claim 8, wherein,
Described script file optimizes submodule, is suitable to the redundancy in script file child resource unless each.
Server the most according to claim 8 or claim 9, wherein,
Described script file optimizes submodule, is suitable to the semanteme according to script file child resource and/or logic,
Multiple script file child resources are grouped, in each packet, the script file child resource in packet are gathered
It is combined into a script file child resource.
11. servers according to claim 8, wherein,
Described script file optimizes submodule, is suitable for the script file child resource after optimization, generates correspondence
URL, the URL of the webpage of record access with optimize after URL corresponding of script file child resource
Relation, the script file child resource after optimizing is cached to described cache module.
12. servers according to claim 11, wherein,
Described script file amendment submodule, is suitable to search the webpage of access in the corresponding relation of record
URL, is revised as the foot after the optimization of correspondence by the URL of the script file child resource comprised in response message
The URL of presents child resource.
13. servers according to claim 8, wherein,
Described proxy module, in the heading of the message being suitable to the script file child resource after encapsulation optimizes
Adding script file and save byte field, this script file saves the script after filling in optimization in byte field
File child resource is the byte number of minimizing compared with the script file child resource before optimization.
14. 1 kinds of clients loading the script file accessing webpage, described client includes:
Communication module, is suitable to send web access requests to server, and receives the response that server returns
Information, described response message is the response message of the website return belonging to described webpage or described server pair
Its amended response message;Wherein, described amended response message includes: will wrap in response message
The URL of the described script file child resource contained is replaced by the corresponding optimization cached in described server
After script file child resource URL after the response message that obtains;
Parsing module, is suitable to resolve response message;
Described communication module, is further adapted for sending script file child resource according to the content parsed to server
Request, and receive the script file child resource that server returns;
Load-on module, is suitable to load the script file child resource that the server received returns.
15. 1 kinds of systems loading the script file accessing webpage, described system includes:
Server as described in any one of claim 8 to 13, and
Client as claimed in claim 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310215425.XA CN103269377B (en) | 2013-05-31 | 2013-05-31 | Process the method for script file, server, client and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310215425.XA CN103269377B (en) | 2013-05-31 | 2013-05-31 | Process the method for script file, server, client and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103269377A CN103269377A (en) | 2013-08-28 |
CN103269377B true CN103269377B (en) | 2016-08-24 |
Family
ID=49012986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310215425.XA Active CN103269377B (en) | 2013-05-31 | 2013-05-31 | Process the method for script file, server, client and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103269377B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103440151A (en) * | 2013-09-05 | 2013-12-11 | 北京京东尚科信息技术有限公司 | Method and apparatus for dynamically loading Web page |
CN104572230B (en) * | 2015-02-13 | 2020-02-07 | 小米科技有限责任公司 | Script file loading method and device and script file generating method and device |
CN105512280B (en) * | 2015-12-07 | 2019-05-21 | 福建天晴数码有限公司 | Cache the method and its system of site file |
CN108460053A (en) * | 2017-02-20 | 2018-08-28 | 平安科技(深圳)有限公司 | File memory method and device |
CN107329975A (en) * | 2017-05-26 | 2017-11-07 | 福建网龙计算机网络信息技术有限公司 | A kind of method and system for caching script file |
CN110661826B (en) * | 2018-06-28 | 2023-06-02 | 北京京东尚科信息技术有限公司 | Method for processing network request by proxy server side and proxy server |
CN110493250A (en) * | 2019-09-02 | 2019-11-22 | 浪潮软件股份有限公司 | A kind of WEB front-end ARCGIS resource request processing method and processing device |
CN113641928B (en) * | 2021-08-11 | 2023-10-31 | 上海浦东发展银行股份有限公司 | Webpage request method, system and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101539932A (en) * | 2009-01-21 | 2009-09-23 | 北京跳网无限科技发展有限公司 | Synchronization access technology of transforming web page |
CN101741986A (en) * | 2009-12-31 | 2010-06-16 | 优视科技有限公司 | Page cache method for mobile communication equipment terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1427143A1 (en) * | 2001-09-14 | 2004-06-09 | Sony Corporation | Network information processing system and network information processing method |
-
2013
- 2013-05-31 CN CN201310215425.XA patent/CN103269377B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101539932A (en) * | 2009-01-21 | 2009-09-23 | 北京跳网无限科技发展有限公司 | Synchronization access technology of transforming web page |
CN101741986A (en) * | 2009-12-31 | 2010-06-16 | 优视科技有限公司 | Page cache method for mobile communication equipment terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103269377A (en) | 2013-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103269377B (en) | Process the method for script file, server, client and system | |
US20210176226A1 (en) | System and method for providing a content delivery network via a motor vehicle | |
US9344513B2 (en) | In-server redirection of HTTP requests | |
CN103258056B (en) | Process the method for style design table, server, client and system | |
US9602620B1 (en) | Content-facilitated speculative preparation and rendering | |
CN101446983B (en) | Method, system and equipment for realizing web page acquisition by mobile terminal | |
US9021128B2 (en) | Request routing using network computing components | |
US8463896B2 (en) | Dynamic portal creation based on personal usage | |
CN102780711B (en) | A kind of SNS application data access method and device thereof and system | |
JP6328233B2 (en) | Computer program product, system and method for optimizing web page loading | |
CN103281387B (en) | Method, server, client side and system for processing child resources in web page | |
CN103347089A (en) | Method and device for separating and accelerating dynamic resources and static resources of website | |
CN103383687B (en) | A kind of page processing method and device | |
US20110231477A1 (en) | System and method to service requests from a plurality of sources | |
CN101799821B (en) | Method and system for realizing webpage application by widget | |
CN104063407A (en) | Browser architecture based on cloud computing and analysis method | |
CN102510410A (en) | On-line advertisement delivering method and system as well as advertisement control equipment | |
CN103324756A (en) | Method and device for increasing access speed of browser | |
CN112003945A (en) | Service request response method and device | |
CN103401926A (en) | Method and device for improving network resource access speed | |
CN105205151B (en) | The method and system of browser page flow are saved in mobile terminal | |
CN101800758B (en) | Mobile terminal network visiting method, system and gateway | |
CN103561068B (en) | A kind of method and device improving web page browsing speed | |
CN101917476A (en) | Hyper text transmission protocol (HTTP) message processing method and client system thereof | |
CN102932334B (en) | A kind of webpage trans-coding system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220801 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |