CN102109989A - Method, device and system for controlling browser cache - Google Patents

Method, device and system for controlling browser cache Download PDF

Info

Publication number
CN102109989A
CN102109989A CN2009102658715A CN200910265871A CN102109989A CN 102109989 A CN102109989 A CN 102109989A CN 2009102658715 A CN2009102658715 A CN 2009102658715A CN 200910265871 A CN200910265871 A CN 200910265871A CN 102109989 A CN102109989 A CN 102109989A
Authority
CN
China
Prior art keywords
static file
version identifier
file
browser
static
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
Application number
CN2009102658715A
Other languages
Chinese (zh)
Inventor
袁志俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2009102658715A priority Critical patent/CN102109989A/en
Publication of CN102109989A publication Critical patent/CN102109989A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a device and a system for controlling browser cache. The method comprises steps as follows: a server obtains a static file used for generating web page and judges whether the static file changes; when a judgment result shows that the static file changes, the server generates a version identification corresponding to the static file; and the server transmits the version identification to a browser, and the browser updates local cache based on the version identification. In the application, the latest static file of the server end is ensured to be browsed through the access of a client browser, the version identifications of all the static files are under centralized management, and the version identifications of the static files are automatically changed by means of a tool.

Description

A kind of methods, devices and systems of controlling browser rs cache
Technical field
The application relates to networking technology area, particularly relates to a kind of methods, devices and systems of controlling browser rs cache.
Background technology
Browser is a display web page server or archives economy file, and can allow user and above-mentioned file carry out interactive a kind of software, this browser is used for being presented in the WWW or the information such as literal, image and other information in the local LAN (Local Area Network), and information such as above-mentioned literal, image and other information can be the hyperlink that connects other network address, browse various information easily thereby make the user to reach rapidly.Wherein, webpage generally is the form of HTML (Hyper Text Mark-up Language, HTML (Hypertext Markup Language)), and common browser comprises browsers such as Internet Explorer, Firefox on the user terminal, as can be seen, browser is the client-side program of using always.
The main flow browser all has local cache mechanism, when visiting the static file of having visited by local cache, can accelerate surfing, and improves user's use experience.
Concrete, local cache mechanism is that browser is browsed in order to quicken, on user disk, nearest document of asking stored, and when the visitor asks this page once more, browser just can show corresponding document from local disk, thereby quickens the reading of the page.
In addition, static file is meant the file that need download in the browser, for example, and html file, javascript (Java descriptive language) file, css (Cascading Style Sheets, CSS (cascading style sheet)) file and picture file etc.
But the local cache mechanism of the browser of different vendor is also inequality, and browser can not guarantee when the static file of server end changes, and can upgrade the static file in the local cache timely, thereby causes systemic-function normally not use.And the version of browser often needs to update the also possible difference of the local cache mechanism of the browser of different editions.
Therefore, normally use, need to guarantee the user no matter under which kind of browser, can both have access to the static file of latest edition, and the static file of use latest edition is replaced the scratch file in the browser rs cache in order to guarantee systemic-function.Wherein, scratch file is meant the file when the copy of preserving in the local cache and latest document are inconsistent.
In the prior art, the mode that the assurance user can visit the static file of latest edition comprises:
1) the renewal caching mechanism of dependence browser self.
Browser self possesses the renewal caching mechanism, and when the static file of server end changes, browser will upgrade static file in self buffer memory according to certain mechanism.
2) in the response of server end, add the not instruction of buffer memory to browser, thus the static file that stops browser rs cache to be visited.
By in the response of server end, adding the not instruction of buffer memory to browser, make browser not buffer memory and relevant all static files of response, at this moment, at browser end, each request all needs to arrive again server end and downloads up-to-date static file, thus the static file that stops browser rs cache to be visited.
3) when static file has renewal, server end is forced the up-to-date static file of browser access by static file being renamed or changing the mode of the reference address of static file.
When static file is renamed or after reference address is modified to the address of not visiting, browser will think that this static file is the new static file of not visiting, and can download again and this static file of buffer memory, reach the purpose of forcing browser to upgrade buffer memory with this.
In the process that realizes the application, the inventor finds prior art, and there are the following problems at least:
When guaranteeing that by the renewal caching mechanism that uses dependence browser self user can visit the static file of latest edition,
The caching mechanism of different browsers, the caching mechanism of perhaps same browser different editions, all difference to some extent can not guarantee when the static file of server end has renewal, browser can be downloaded up-to-date static file automatically.And the caching mechanism of browser can be changed by the mode of software setting, thereby causes the buffer memory of client uncontrollable.
When in the response of server end, adding that the instruction of buffer memory does not guarantee that the user can visit the static file of latest edition to browser by use,
Though the static file that can stop browser rs cache to be visited, but each request all needs the up-to-date static file of Download Server end, thereby can cause unnecessary static file to be downloaded, increase the pressure of server end, make the server end response efficiency reduce.
3) when server end when using static file to have to upgrade by static file being renamed or changing the mode of the reference address of static file, when forcing the up-to-date static file of browser access to guarantee that the user can visit the static file of latest edition, for large-scale internet product, to comprise a lot of static files, all change the reference address of static file name or change static file during each the renewal, will increase maintenance cost, and increase the risk that can't refer to these static files.
Summary of the invention
The application provides a kind of methods, devices and systems of controlling browser rs cache, can visit up-to-date static file to guarantee browser client, prevent the scratch file in the browser client access browser buffer memory, and efficiently safeguard a large amount of static files simply.
The application proposes a kind of method of controlling browser rs cache, may further comprise the steps:
Server obtains the static file that generates webpage, and judges whether described static file changes;
When judged result is a described static file when changing, described server generates the version identifier of described static file correspondence;
Described server sends to browser with described version identifier, upgrades local cache by described browser according to described version identifier.
Described server generates before the version identifier of described static file correspondence, also comprises:
Described server is the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
The version identifier of described static file correspondence comprises described static file time corresponding version identifier; The version identifier that described server generates described static file correspondence comprises:
Described server obtains the current time, and with the described current time as described static file time corresponding version identifier.
Described server sends to browser with described version identifier and comprises:
Described server sends to described browser with the configuration file of described static file correspondence, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
Described browser upgrades local cache according to described version identifier and comprises:
When described browser was visited described static file according to the address of described static file, described browser judged whether described version identifier is higher than the version identifier in the local cache;
When judged result is a described version identifier when being higher than version identifier in the described local cache, then described browser upgrades local cache according to the corresponding relation of described version identifier and described static file address.
Described browser is visited described static file according to the address of described static file and is comprised:
Described browser obtains corresponding version identifier from described configuration file;
Described browser is according to described version identifier, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
Described browser is visited described static file according to the address of described static file.
The application proposes a kind of server, comprising:
Acquisition module is used to obtain the static file that generates webpage;
Judge module is used to judge whether the described static file that described acquisition module obtains changes;
Generation module when being used for judged result when described judge module and being described static file and changing, generates the version identifier of described static file correspondence;
Sending module is used for the described version identifier that described generation module generates is sent to browser, upgrades local cache by described browser according to described version identifier.
Also comprise:
Configuration module is used to the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
The version identifier of described static file correspondence comprises described static file time corresponding version identifier;
Described generation module comprises:
First obtains submodule, is used to obtain the current time;
Second obtains submodule, is used for obtaining described current time that submodule obtains as described static file time corresponding version identifier with described first.
Described sending module specifically is used for, and the configuration file of described static file correspondence is sent to described browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
The application proposes a kind of client, comprising:
Receiver module is used for receiving version identifier from server by self browser, and described version identifier is the version identifier of static file correspondence;
Judge module is used to judge whether the pairing static file of version identifier that described receiver module receives changes;
Processing module, when being used for judged result when described judge module and being described static file and changing, the described version identifier that receives according to described receiver module upgrades local cache.
Described receiver module specifically is used for, and receives configuration file from the described static file correspondence of described server by self browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
Described processing module comprises:
Judge submodule, be used for when described browser is visited described static file according to the address of described static file, judging whether described version identifier is higher than the version identifier in the local cache;
Updating submodule when being used for judged result when described judgement submodule and being described version identifier and being higher than the version identifier of described local cache, is upgraded local cache according to the corresponding relation of described version identifier and described static file address.
Also comprise:
Access modules is used for visiting described static file according to the address of described static file;
Described access modules comprises:
First obtains submodule, is used for obtaining corresponding version identifier by described browser from described configuration file;
Second obtains submodule, be used for obtaining the described version identifier that submodule obtains according to described first, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
The visit submodule is used for visiting described static file according to second address that obtains the described static file that submodule obtains.
The application proposes a kind of system that controls browser rs cache, comprising:
Server is used to obtain the static file that generates webpage, and judges whether described static file changes; When judged result is a described static file when changing, generate the version identifier of described static file correspondence; And described version identifier sent to browser;
Client is used for receiving described version identifier by the browser of self, and upgrades local cache according to described version identifier.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Description of drawings
In order to be illustrated more clearly in the application or technical scheme of the prior art, to do simple the introduction to the accompanying drawing of required use in the application or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiment of the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application one;
Fig. 2 is the embodiment of the present application application scenarios synoptic diagram;
Fig. 3 is a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application two;
Fig. 4 is a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application three;
Fig. 5 is the embodiment of the present application framework schematic flow sheet;
Fig. 6 is a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application four;
Fig. 7 is a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application five;
Fig. 8 is the structural representation of a kind of server in the embodiment of the present application six;
Fig. 9 is the structural representation of the another kind of server in the embodiment of the present application six;
Figure 10 is the structural representation of generation module in the embodiment of the present application six;
Figure 11 is the structural representation of a kind of client in the embodiment of the present application seven;
Figure 12 is the structural representation of processing module in the embodiment of the present application seven;
Figure 13 is the structural representation of the another kind of client in the embodiment of the present application seven;
Figure 14 is the structural representation of access modules in the embodiment of the present application seven.
Embodiment
The application's main thought comprises, by being the corresponding configuration file of static file configuration, and in configuration file, set up the version identifier of static file and the mapping relations of call address, thereby make when static file changes, can identify the static file after the variation by the mode of change configuration file version identifier, and the pairing configuration file of the static file after will changing sends to the browser of client, and browser can upgrade the pairing local cache of this static file according to the configuration file after this variation, thereby prevent the scratch file in the user capture browser rs cache, and in large-scale website, carry out high maintenance
Among the application, under the situation of not forbidding browser rs cache, when the static file of server end had renewal, any browser can both have access to up-to-date static file under any caching mechanism, thereby can efficiently safeguard a large amount of static files simply, improve user's use experience.
Below in conjunction with the accompanying drawing among the application, the technical scheme among the application is carried out clear, complete description, obviously, described embodiment is a part of embodiment of the application, rather than whole embodiment.Based on the embodiment among the application, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope that the application protects.
As shown in Figure 1, a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application one may further comprise the steps:
Step 101, server are obtained the static file that generates webpage, and judge whether described static file changes.When judged result is a described static file when changing, forward step 102 to, when judged result is a described static file when not changing, process ends.
Step 102, described server generates the version identifier of described static file correspondence.
Concrete, described server generates before the version identifier of described static file correspondence, promptly before this step, also comprises:
Described server is the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
The version identifier of described static file correspondence comprises described static file time corresponding version identifier;
The version identifier that described server generates described static file correspondence comprises:
Described server obtains the current time, and with the described current time as described static file time corresponding version identifier.
Step 103, described server sends to browser with described version identifier, upgrades local cache by described browser according to described version identifier.
Concrete, described server sends to browser with described version identifier and comprises:
Described server sends to described browser with the configuration file of described static file correspondence, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
In this application, described browser comprises according to described version identifier renewal local cache:
When described browser was visited described static file according to the address of described static file, described browser judged whether described version identifier is higher than the version identifier in the local cache;
When judged result is a described version identifier when being higher than version identifier in the described local cache, then described browser upgrades local cache according to the corresponding relation of described version identifier and described static file address.
In addition, described browser is visited described static file according to the address of described static file and is comprised:
Described browser obtains corresponding version identifier from described configuration file;
Described browser is according to described version identifier, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
Described browser is visited described static file according to the address of described static file.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
The above embodiments of the present application provide a kind of method of controlling browser rs cache, below in conjunction with concrete application scenarios the method for above-mentioned control browser rs cache are carried out concrete, detailed description.A kind of application scenarios synoptic diagram as shown in Figure 2, server is connected with client by Internet, all includes browser on each client.
As shown in Figure 3, for based on above-mentioned application scenarios, a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application two may further comprise the steps:
Step 301, server are the corresponding configuration file of static file configuration.
Concrete, in each static file, a unique version identifier is arranged all, among the application, by configuration file for static file configuration correspondence, and by using this configuration file to carry the version identifier of static file.
In configuration file for the static file configuration, will set up the version identifier of static file and the mapping relations of call address, wherein, this call address is the static file corresponding address, when client needs the access static file, need carry out corresponding access process according to this call address.
Need to prove, among the application, do not need all to dispose corresponding configuration file for all static files, in actual applications, can be according to the operating position of static file, be chosen as the corresponding configuration file of static file configuration, perhaps, select not to be the corresponding configuration file of static file configuration.
For example, static file A and static file B are arranged, in actual applications, the operating position of static file is respectively: static file A can not change, static file B can change, at this moment, do not need to be the corresponding configuration file of static file A configuration, and need be the corresponding configuration file of static file B configuration.Certainly, also can be chosen as the corresponding configuration file of static file A spare configuration, give unnecessary details no longer in detail among the application.
Step 302, server judge whether static file changes.When judged result when being, forward step 303 to, otherwise, process ends.
In the practical application, server will send the information of static file according to the actual needs to client, thereby make the browser on the client can visit corresponding static file.
Server is when client sends the information of static file, and this server can know whether change according to this static file.For example, for static file A, sent the information of static file A1 to client in process before, if need send the information of static file A2 this moment to client, then variation has taken place in static file; If still need to send to client the information of static file A1 this moment, then static file does not change.
Step 303, the version identifier in the configuration file of server update static file correspondence.
Because version identifier and call address have mapping relations, i.e. the version identifier in the call address in the new configuration file more in this step.
Preferably, the version identifier in this configuration file can use the date when revising, and for example, the date when revising, server can be updated to 20090928 with the version identifier in the configuration file of static file correspondence when being 2009.9.28.
Certainly, in actual applications, be not limited to version identifier service time, the version identifier mode is all within the application's protection domain arbitrarily.For example, can directly use the digital version sign, version identifier when static file is initial is 0, when needing to revise static file for the first time, server can be updated to 1 with the version identifier in the configuration file of static file correspondence, when needing to revise static file for the second time, server can be updated to 2 with the version identifier in the configuration file of static file correspondence, by that analogy.Version identifier mode for other repeats no more among the application.
Step 304, server is introduced configuration file, the generator program page according to the version identifier after upgrading and by the template substitute mode.Wherein, this program page browser of being used to carry new configuration file and sending to client.
Concrete, for each static file, the template that self correspondence is all arranged, and in each template, what change is version identifier in the configuration file, among the application, the mode of replacing by template is incorporated into configuration file with version identifier, promptly can introduce generating the corresponding program page according to the configuration file that has upgraded version identifier.
The program page that step 305, server will have been carried new configuration file sends to the browser of client.
Step 306, client is passed through the browser access program page of self, and upgrades local cache according to the profile information in this program page.Promptly in subsequent process, the local cache after the browser of this client will upgrade by use is visited the static file after this variation.
Concrete, in the process of the access program page, browser will get access to version identifier the configuration file from the program page, and according to the mapping relations of version identifier and call address, the version identifier of static file is replaced with the call address of static file reality, thereby have access to static file according to the call address of this static file reality.
Need to prove, upgrade in the process of local cache, need also to judge whether the pairing static file of configuration file changes in client.Be that client can judge whether the pairing static file of configuration file changes by using the version identifier in the configuration file.For example, the version identifier in the local cache is 20091010, and the version identifier that gets access to from configuration file is 20091012, and as can be seen, the pairing static file of this configuration file at 2009.10.12 variation has taken place.
In sum, when a static file need be changed version, only need the version identifier in the change configuration file to get final product, need not change the program file that all comprise this static file.
Need to prove that the application's method can be adjusted each sequence of steps according to actual needs.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Method for the control browser rs cache more clearly setting forth among the application to be proposed describes in detail below in conjunction with a concrete example.Wherein, this concrete example is that example describes with static file demo.js.
As shown in Figure 4, a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application three may further comprise the steps:
Step 401, is server the corresponding configuration file demo=/rootpath/demo.js of static file demo.js configuration? v=20090928.
Concrete, static file demo.js has unique version identifier, is this static file demo.js mapped as demo=/rootpath/demo.js in configuration file? v=20090928, is wherein demo (promptly 20090928) the version identifier of demo.js ,/rootpath/demo.js? v=20090928 is a call address.That configuration file has been set up version identifier (demo) and call address (/rootpath/demo.js for static file demo.js? v=20090928) mapping relations.
Step 402, server judge whether static file changes.When judged result when being, forward step 403 to, otherwise, process ends.
Step 403, does server need more new configuration file demo=/rootpath/demo.js after static file demo.js change? version identifier among the v=20090928.
After static file demo.js change, do you need modification/rootpath/demo.js? information among the v=20090928 (version identifier demo), i.e. needs/rootpath/demo.js? among the v=20090928 20090928, with the time version identifier is example, server obtains the current time, and obtains static file time corresponding version identifier according to the current time.For example, the current time, the time version identifier was 20090930 when being 2009.9.30, corresponding, need be with configuration file demo=/rootpath/demo.js? is v=20090928 updated to configuration file demo=/rootpath/demo.js? v=20090930.
Above-mentioned situation is that example describes with the time version identifier, in the practical application, can also be designated example with digital version for other version identifier mode, can the configuration file that disposes for static file demo.js be demo=/rootpath/demo.js? v=0.After static file demo.js change, for the first time need be with configuration file demo=/rootpath/demo.js? is v=0 updated to configuration file demo=/rootpath/demo.js? v=1; For the second time need be with configuration file demo=/rootpath/demo.js? is v=1 updated to configuration file demo=/rootpath/demo.js? v=2; By that analogy.
For other version identifier mode, processing procedure is similar, repeat no more among the application, in the subsequent process so that configuration file is updated to demo=/rootpath/demo.js? v=20090930 is that example describes.
Step 404, is server according to configuration file demo=/rootpath/demo.js? the v=20090930 generator program page.
Among the application, can introduce the version identifier of configuration file correspondence by the mode that template is replaced, and with configuration file demo=/rootpath/demo.js? v=20090930 introduces, thus the generator program page.
Concrete, each static file all has the template of self correspondence, for static file demo.js, version identifier is demo, template is #jsm[" demo "], is this jsm partly used to introduce static file, and " demo " part is used to introduce configuration file demo=/rootpath/demo.js? v=20090930.
Step 405, server send to the program page of static file demo.js correspondence the browser of client.Wherein, carried the configuration file of static file demo.js correspondence in this program page.
Step 406, client is passed through the browser access program page of self, and according to the configuration file demo=/rootpath/demo.js in this program page? v=20090930 upgrades the static file demo.js in the local cache.
Concrete, in the process of the access program page, browser will get access to version identifier demo the configuration file from the program page, and by using the template of static file demo.js correspondence to be #jsm[" demo "], when client-access comprises the program page of demo.js, #jsm[" demo "] can be replaced by<script src="/rootpath/demo.js? v=20090930 " type=" text/javascript "</script 〉, wherein ,/rootpath/demo.js? v=20090930 is the version identifier demo part of configuration file.
In the version identifier demo of configuration file part, mapping relations according to version identifier demo and call address, can obtain the call address of static file reality, promptly/rootpath/demo.js? is v=20090930 the call address of demo.js, and client can be by the browser access/rootpath/demo.js of self? the pairing static file demo.js in v=20090930 address.
Need to prove that the application's method can be adjusted each sequence of steps according to actual needs.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Among the application, in order in configuration file, to change the version identifier (promptly being used to represent the sign of version) of a certain static file more easily, the robotization revision marking instrument of a development platform based on eclipse (this development platform is to use Software Development Platform the most widely) is provided among the application, by using this robotization revision marking instrument, can revise automatically the version identifier of static file, thereby make the whole process of method of above-mentioned control browser rs cache need not personnel's manual intervention, instrument one key can be finished.Framework schematic flow sheet as shown in Figure 5, wherein, the various piece among Fig. 5 all is positioned at server end.
Need to prove that robotization revision marking instrument among Fig. 5 can be based on the development platform of eclipse, can also no longer development platform be illustrated accordingly among the application for development platform based on other.
As shown in Figure 6, for based on above-mentioned framework situation, a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application four may further comprise the steps:
Step 601, when the version identifier of static file changed, robotization revision marking instrument was according to the version identifier search configuration file of the static file that is modified, and found the configuration item of this configuration file correspondence.
Step 602, robotization revision marking instrument is the latest edition sign version identifier in the configuration item of new configuration file correspondence more automatically according to current timestamp.
Concrete, in actual applications, this version identifier can be used as the version identifier of static file, and promptly in this step, robotization revision marking instrument can be the latest edition sign version identifier in the configuration item of new configuration file correspondence more automatically according to current timestamp.
Step 603, robotization revision marking instrument is incorporated into static file by the template substitute mode with configuration file and introduces in the template.
Step 604, robotization revision marking instrument is introduced the template generator page according to the configuration file after introducing.Wherein, in this program page, comprised the latest edition sign of static file correspondence, this version identifier is carried in the configuration file.
Step 605, robotization revision marking instrument sends to the program page browser of client.
Step 606, the browser of client obtains the static file that latest edition identifies according to this program page, promptly obtains the static file of latest edition.
Step 607, the browser of client upgrades local cache according to the static file of this latest edition sign.
Need to prove that the application's method can be adjusted each sequence of steps according to actual needs.
In sum, among the application, when static file has renewal,, notify browser need download the static file of latest edition again and upgrade buffer memory by upgrading the version identifier in the reference address.
Concrete, by set up the mapping relations of static file and reference address in configuration file, all pages directly do not include the static file reference address of version identifier, but are written into the reference address of each static file by these mapping relations.In the performance history of software, after static file upgrades, by the robotization revision marking instrument version identifier that reference address comprised of this static file correspondence in the new configuration file more, thereby make that the reference address in relevant all pages of this static file is all upgraded.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Method for the control browser rs cache more clearly setting forth among the application to be proposed describes in detail below in conjunction with a concrete example.Wherein, this concrete example is that example describes with static file demo.js.
As shown in Figure 7, a kind of method flow diagram of controlling browser rs cache in the embodiment of the present application five may further comprise the steps:
Step 701, when the version identifier of static file demo.js changed, robotization revision marking instrument was according to the version identifier search configuration file of the static file demo.js that is modified, and found the configuration item of this configuration file correspondence.Wherein, is the pairing configuration item of this configuration file specially demo=/rootpath/demo.js? v=20090928.
Step 702, is robotization revision marking instrument the automatic more configuration item demo=/rootpath/demo.js of new configuration file correspondence of latest edition sign according to current timestamp 2009.11.23? does version identifier among the v=20090928 promptly need the configuration item demo=/rootpath/demo.js with the configuration file correspondence? does v=20090928 change to demo=/rootpath/demo.js? v=20091123.
Concrete, in actual applications, this version identifier can be used as the version identifier of static file, and promptly in this step, robotization revision marking instrument can be the latest edition sign version identifier in the configuration item of new configuration file correspondence more automatically according to current timestamp.
Configuration file demo=/rootpath/demo.js after step 703, robotization revision marking instrument will be upgraded by the template substitute mode? v=20091123 is incorporated into static file and introduces in the template.
Step 704, robotization revision marking instrument is introduced the template generator page according to the configuration file after introducing.Wherein, in this program page, comprised the latest edition sign of static file correspondence, this version identifier is carried in the configuration file.
Step 705, robotization revision marking instrument sends to the program page browser of client.
Step 706, the browser of client obtains the static file that latest edition identifies according to this program page, promptly obtains the static file of latest edition.
Concrete, the static file of latest edition is<script src="/rootpath/demo.js? v=20091123 " type=" text/javascript "</script 〉, wherein ,/rootpath/demo.js? v=20091123 is the version identifier part of configuration file.
Step 707, is the browser of client according to this latest edition sign/rootpath/demo.js? the static file of v=20091123 upgrades local cache.
Need to prove that the application's method can be adjusted each sequence of steps according to actual needs.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
The above embodiments of the present application provide the methods and applications scene of control browser rs cache, and correspondingly, the application also provides equipment and the system that uses said method by following examples.
As shown in Figure 8, the structural representation for a kind of server in the embodiment of the present application six comprises:
Acquisition module 81 is used to obtain the static file that generates webpage.
Judge module 82 is used to judge whether the described static file that described acquisition module 81 obtains changes.
Generation module 83 when being used for judged result when described judge module 82 and being described static file and changing, generates the version identifier of described static file correspondence.
Sending module 84 is used for the described version identifier that described generation module 83 generates is sent to browser, upgrades local cache by described browser according to described version identifier.
Further, as shown in Figure 9, described server also comprises:
Configuration module 85 is used to the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
The version identifier of described static file correspondence comprises described static file time corresponding version identifier; Further, as shown in figure 10, described generation module 83 comprises:
First obtains submodule 831, is used to obtain the current time;
Second obtains submodule 832, is used for obtaining described current time that submodule 831 obtains as described static file time corresponding version identifier with described first.
In addition, described sending module 84 specifically is used for, and the configuration file of described static file correspondence is sent to described browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
As shown in figure 11, a kind of client in the embodiment of the present application seven comprises:
Receiver module 91 is used for receiving version identifier from server by self browser, and described version identifier is the version identifier of static file correspondence.
Judge module 92 is used to judge whether the pairing static file of version identifier that described receiver module 91 receives changes.
Processing module 93, when being used for judged result when described judge module 92 and being described static file and changing, the described version identifier that receives according to described receiver module 91 upgrades local cache.
Concrete, described receiver module 91 specifically is used for, and receives configuration file from the described static file correspondence of described server by self browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
In the client that the embodiment of the present application seven provides, as shown in figure 12, described processing module 93 further comprises:
Judge submodule 931, be used for when described browser is visited described static file according to the address of described static file, judging whether described version identifier is higher than the version identifier in the local cache;
Updating submodule 932 when being used for judged result when described judgement submodule 931 and being described version identifier and being higher than the version identifier of described local cache, is upgraded local cache according to the corresponding relation of described version identifier and described static file address.
Further, as shown in figure 13, described client also comprises:
Access modules 94 is used for visiting described static file according to the address of described static file.
Further, as shown in figure 14, described access modules 94 comprises:
First obtains submodule 941, is used for obtaining corresponding version identifier by described browser from described configuration file;
Second obtains submodule 942, be used for obtaining the described version identifier that submodule 941 obtains according to described first, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
Visit submodule 943 is used for visiting described static file according to second address that obtains the described static file that submodule 942 obtains.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
The application comprises following advantage,
1) the up-to-date static file of assurance client browser access server end.
By the version identifier at server end generation static file, thereby the decision client browser is to download up-to-date static file or extract static file local cache from server end.And when the different browser of client use, when perhaps using the caching mechanism of same browser different editions, the static file of visit all can be determined by server end, be whether the unified decision of server end client browser visits up-to-date static file, thereby can stop the procedural problem that causes because of static file is expired.
2) manage the version identifier of all static files concentratedly.
The mode that the program page is replaced by template is extracted the call address of static file from unified configuration file, thereby and by the maintenance of configuration file being managed concentratedly the version identifier of all static files.When needs are changed the version identifier of some static files, only need this static file of change corresponding configuration item in configuration file to get final product, thereby guarantee that this static file is correctly quoted in all program pages.
3) change the version identifier of static file automatically by instrument.
After static file was changed, instrument can search corresponding configuration item automatically in configuration file, and corresponding version identifier in the change configuration file, and whole process need not artificial participation, has improved exploitation and maintenance efficiency.
Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Also proposed a kind of system that controls browser rs cache in the embodiment of the present application eight, having comprised:
Server is used to obtain the static file that generates webpage, and judges whether described static file changes; When judged result is a described static file when changing, generate the version identifier of described static file correspondence; And described version identifier sent to browser;
Client is used for receiving described version identifier by the browser of self, and upgrades local cache according to described version identifier.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be integrated in one, and also can separate deployment; A module can be merged into, also a plurality of submodules can be further split into.The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (15)

1. a method of controlling browser rs cache is characterized in that, may further comprise the steps:
Server obtains the static file that generates webpage, and judges whether described static file changes;
When judged result is a described static file when changing, described server generates the version identifier of described static file correspondence;
Described server sends to browser with described version identifier, upgrades local cache by described browser according to described version identifier.
2. the method for claim 1 is characterized in that, described server generates before the version identifier of described static file correspondence, also comprises:
Described server is the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
3. method as claimed in claim 2 is characterized in that, the version identifier of described static file correspondence comprises described static file time corresponding version identifier; The version identifier that described server generates described static file correspondence comprises:
Described server obtains the current time, and with the described current time as described static file time corresponding version identifier.
4. method as claimed in claim 2 is characterized in that, described server sends to browser with described version identifier and comprises:
Described server sends to described browser with the configuration file of described static file correspondence, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
5. method as claimed in claim 4 is characterized in that, described browser upgrades local cache according to described version identifier and comprises:
When described browser was visited described static file according to the address of described static file, described browser judged whether described version identifier is higher than the version identifier in the local cache;
When judged result is a described version identifier when being higher than version identifier in the described local cache, then described browser upgrades local cache according to the corresponding relation of described version identifier and described static file address.
6. method as claimed in claim 5 is characterized in that, described browser is visited described static file according to the address of described static file and comprised:
Described browser obtains corresponding version identifier from described configuration file;
Described browser is according to described version identifier, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
Described browser is visited described static file according to the address of described static file.
7. a server is characterized in that, comprising:
Acquisition module is used to obtain the static file that generates webpage;
Judge module is used to judge whether the described static file that described acquisition module obtains changes;
Generation module when being used for judged result when described judge module and being described static file and changing, generates the version identifier of described static file correspondence;
Sending module is used for the described version identifier that described generation module generates is sent to browser, upgrades local cache by described browser according to described version identifier.
8. server as claimed in claim 7 is characterized in that, also comprises:
Configuration module is used to the corresponding configuration file of each static file configuration; The version identifier of described static file correspondence and the corresponding relation of described static file address have been set up in the described configuration file.
9. server as claimed in claim 8 is characterized in that, the version identifier of described static file correspondence comprises described static file time corresponding version identifier;
Described generation module comprises:
First obtains submodule, is used to obtain the current time;
Second obtains submodule, is used for obtaining described current time that submodule obtains as described static file time corresponding version identifier with described first.
10. server as claimed in claim 8 is characterized in that,
Described sending module specifically is used for, and the configuration file of described static file correspondence is sent to described browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
11. a client is characterized in that, comprising:
Receiver module is used for receiving version identifier from server by self browser, and described version identifier is the version identifier of static file correspondence;
Judge module is used to judge whether the pairing static file of version identifier that described receiver module receives changes;
Processing module, when being used for judged result when described judge module and being described static file and changing, the described version identifier that receives according to described receiver module upgrades local cache.
12. client as claimed in claim 11 is characterized in that,
Described receiver module specifically is used for, and receives configuration file from the described static file correspondence of described server by self browser, has carried the corresponding relation of described version identifier and described static file address in the described configuration file.
13. client as claimed in claim 12 is characterized in that, described processing module comprises:
Judge submodule, be used for when described browser is visited described static file according to the address of described static file, judging whether described version identifier is higher than the version identifier in the local cache;
Updating submodule when being used for judged result when described judgement submodule and being described version identifier and being higher than the version identifier of described local cache, is upgraded local cache according to the corresponding relation of described version identifier and described static file address.
14. client as claimed in claim 13 is characterized in that, also comprises:
Access modules is used for visiting described static file according to the address of described static file;
Described access modules comprises:
First obtains submodule, is used for obtaining corresponding version identifier by described browser from described configuration file;
Second obtains submodule, be used for obtaining the described version identifier that submodule obtains according to described first, and the address that obtains described static file of the corresponding relation by described version identifier and described static file address;
The visit submodule is used for visiting described static file according to second address that obtains the described static file that submodule obtains.
15. a system that controls browser rs cache is characterized in that, comprising:
Server is used to obtain the static file that generates webpage, and judges whether described static file changes; When judged result is a described static file when changing, generate the version identifier of described static file correspondence; And described version identifier sent to browser;
Client is used for receiving described version identifier by the browser of self, and upgrades local cache according to described version identifier.
CN2009102658715A 2009-12-29 2009-12-29 Method, device and system for controlling browser cache Pending CN102109989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102658715A CN102109989A (en) 2009-12-29 2009-12-29 Method, device and system for controlling browser cache

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102658715A CN102109989A (en) 2009-12-29 2009-12-29 Method, device and system for controlling browser cache

Publications (1)

Publication Number Publication Date
CN102109989A true CN102109989A (en) 2011-06-29

Family

ID=44174165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102658715A Pending CN102109989A (en) 2009-12-29 2009-12-29 Method, device and system for controlling browser cache

Country Status (1)

Country Link
CN (1) CN102109989A (en)

Cited By (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364461A (en) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 Page content data acquisition method and server
CN103139279A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File access method and system
CN103257973A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for updating browser cache
CN103729195A (en) * 2014-01-15 2014-04-16 北京奇虎科技有限公司 Control method and system for software version
CN103873502A (en) * 2012-12-11 2014-06-18 阿里巴巴集团控股有限公司 Cache updating method and system, and update resource providing method and system
CN104239480A (en) * 2011-09-19 2014-12-24 北京奇虎科技有限公司 Method and device for quick access to webpage
WO2014206041A1 (en) * 2013-06-27 2014-12-31 Tencent Technology (Shenzhen) Company Limited Method, mobile terminal and system for displaying picture based on wireless network, and storage medium
CN104376122A (en) * 2014-12-08 2015-02-25 浪潮通用软件有限公司 Method for browser client to obtain static file and server
CN104462469A (en) * 2014-12-17 2015-03-25 小米科技有限责任公司 Updating method and updating device for website static files
CN104572845A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 File distribution method and device, equipment and system
CN104615597A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method, device and system for clearing cache file in browser
CN104735112A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Resource file sending method and resource file caching method and device
CN104750467A (en) * 2013-12-26 2015-07-01 广州华多网络科技有限公司 File reading method, device and system
CN104765622A (en) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 Page resource loading method and device
CN104809016A (en) * 2015-05-13 2015-07-29 北京京东尚科信息技术有限公司 Method and system for upgrading website page
WO2015154682A1 (en) * 2014-04-08 2015-10-15 北京奇虎科技有限公司 Network request processing method, network server, and network system
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105068806A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Browser cache control method and system
CN105468587A (en) * 2014-05-30 2016-04-06 北京奇虎科技有限公司 Webpage anomaly monitoring method and apparatus
CN105488078A (en) * 2014-10-10 2016-04-13 阿里巴巴集团控股有限公司 Web page data caching method and equipment
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN105956182A (en) * 2016-05-31 2016-09-21 北京奇艺世纪科技有限公司 Resource loading method, apparatus and system
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
CN106598633A (en) * 2015-10-19 2017-04-26 北京国双科技有限公司 Configuration file update method, client and server
CN106843935A (en) * 2016-12-29 2017-06-13 广州华多网络科技有限公司 A kind of method and system for automatically updating static file version number
CN106990975A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 One kind application heat deploying method, device and system
CN107145528A (en) * 2017-04-14 2017-09-08 北京趣拿软件科技有限公司 Update method, the apparatus and system of cache file
CN107229655A (en) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 The update method of page static file, apparatus and system
CN107704465A (en) * 2016-08-08 2018-02-16 腾讯科技(深圳)有限公司 Static resource update method and static resource management system
US10003637B2 (en) 2013-06-27 2018-06-19 Tencent Technology (Shenzhen) Company Limited Method, mobile terminal and system for displaying picture based on wireless network, and storage medium
WO2018120436A1 (en) * 2016-12-26 2018-07-05 武汉斗鱼网络科技有限公司 Version control method and system for flash application
CN108282475A (en) * 2018-01-18 2018-07-13 世纪龙信息网络有限责任公司 User identity information read method and system, computer storage media and equipment
CN108399072A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Five application page update method and device
CN108415976A (en) * 2018-02-09 2018-08-17 西安博达软件股份有限公司 The method of release quickly site file based on CMS system
CN108804155A (en) * 2018-05-31 2018-11-13 中链科技有限公司 Profile acquisition method, device, terminal and computer readable storage medium
CN108846052A (en) * 2018-05-31 2018-11-20 郑州云海信息技术有限公司 A kind of browser caching data update method and relevant apparatus
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment
CN109358895A (en) * 2017-12-28 2019-02-19 广州Tcl智能家居科技有限公司 A kind of dispositions method of HXML, storage medium and application server
CN109543127A (en) * 2018-11-26 2019-03-29 杭州安恒信息技术股份有限公司 A kind of page furbishing method, device, equipment and readable storage medium storing program for executing
CN109729165A (en) * 2018-12-28 2019-05-07 国云科技股份有限公司 A kind of system and method for realizing file download using local cache strategy
CN110196724A (en) * 2018-08-17 2019-09-03 平安科技(深圳)有限公司 File loading method, terminal, server, computer equipment and storage medium
WO2020034952A1 (en) * 2018-08-15 2020-02-20 深圳点猫科技有限公司 Method for optimizing webpage loading speed on basis of browser caching mechanism and electronic device
CN111506786A (en) * 2020-03-06 2020-08-07 百度在线网络技术(北京)有限公司 Webpage updating method and device, electronic equipment and computer-readable storage medium
CN111506787A (en) * 2020-03-06 2020-08-07 百度在线网络技术(北京)有限公司 Webpage updating method and device, electronic equipment and computer-readable storage medium
CN113158110A (en) * 2016-07-08 2021-07-23 创新先进技术有限公司 Data processing method and equipment
CN115269066A (en) * 2022-09-19 2022-11-01 平安银行股份有限公司 Interface calling method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127783A (en) * 2007-09-28 2008-02-20 北京金山软件有限公司 A website buffering method and device
CN101201827A (en) * 2006-12-14 2008-06-18 阿里巴巴公司 Method and system for displaying web page
US20080162817A1 (en) * 2006-12-29 2008-07-03 Yusuf Batterywala Method and system for caching metadata of a storage system
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201827A (en) * 2006-12-14 2008-06-18 阿里巴巴公司 Method and system for displaying web page
US20080162817A1 (en) * 2006-12-29 2008-07-03 Yusuf Batterywala Method and system for caching metadata of a storage system
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage
CN101127783A (en) * 2007-09-28 2008-02-20 北京金山软件有限公司 A website buffering method and device

Cited By (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364461A (en) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 Page content data acquisition method and server
CN104239480B (en) * 2011-09-19 2018-01-16 北京奇虎科技有限公司 A kind of quick method, apparatus for accessing webpage
CN104239480A (en) * 2011-09-19 2014-12-24 北京奇虎科技有限公司 Method and device for quick access to webpage
CN103139279A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File access method and system
CN103139279B (en) * 2011-12-05 2016-02-24 阿里巴巴集团控股有限公司 file access method and system
CN103257973A (en) * 2012-02-20 2013-08-21 腾讯科技(深圳)有限公司 Method and system for updating browser cache
CN103873502A (en) * 2012-12-11 2014-06-18 阿里巴巴集团控股有限公司 Cache updating method and system, and update resource providing method and system
WO2014206041A1 (en) * 2013-06-27 2014-12-31 Tencent Technology (Shenzhen) Company Limited Method, mobile terminal and system for displaying picture based on wireless network, and storage medium
US10003637B2 (en) 2013-06-27 2018-06-19 Tencent Technology (Shenzhen) Company Limited Method, mobile terminal and system for displaying picture based on wireless network, and storage medium
CN104253836A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Wireless network based image displaying method and system and mobile terminal
CN104253836B (en) * 2013-06-27 2018-11-06 腾讯科技(深圳)有限公司 Image display method, mobile terminal based on wireless network and system
CN104615597A (en) * 2013-11-04 2015-05-13 腾讯科技(深圳)有限公司 Method, device and system for clearing cache file in browser
CN104615597B (en) * 2013-11-04 2019-04-12 腾讯科技(深圳)有限公司 The methods, devices and systems of cache file are removed in browser
CN104735112A (en) * 2013-12-23 2015-06-24 阿里巴巴集团控股有限公司 Resource file sending method and resource file caching method and device
CN104735112B (en) * 2013-12-23 2018-08-03 阿里巴巴集团控股有限公司 Send method, the method and apparatus of cache resource file of resource file
CN104750467A (en) * 2013-12-26 2015-07-01 广州华多网络科技有限公司 File reading method, device and system
CN104765622A (en) * 2014-01-03 2015-07-08 腾讯科技(深圳)有限公司 Page resource loading method and device
CN104765622B (en) * 2014-01-03 2019-12-27 腾讯科技(深圳)有限公司 Page resource loading method and device
CN103729195A (en) * 2014-01-15 2014-04-16 北京奇虎科技有限公司 Control method and system for software version
WO2015154682A1 (en) * 2014-04-08 2015-10-15 北京奇虎科技有限公司 Network request processing method, network server, and network system
CN105468587A (en) * 2014-05-30 2016-04-06 北京奇虎科技有限公司 Webpage anomaly monitoring method and apparatus
CN105468587B (en) * 2014-05-30 2019-10-22 北京奇虎测腾科技有限公司 A kind of webpage method for monitoring abnormality and device
CN105488078B (en) * 2014-10-10 2019-07-26 阿里巴巴集团控股有限公司 A kind of web data caching method and equipment
CN105488078A (en) * 2014-10-10 2016-04-13 阿里巴巴集团控股有限公司 Web page data caching method and equipment
CN104376122A (en) * 2014-12-08 2015-02-25 浪潮通用软件有限公司 Method for browser client to obtain static file and server
CN104572845B (en) * 2014-12-12 2019-03-26 百度在线网络技术(北京)有限公司 Document distribution method, device, equipment and system
CN104572845A (en) * 2014-12-12 2015-04-29 百度在线网络技术(北京)有限公司 File distribution method and device, equipment and system
CN104462469A (en) * 2014-12-17 2015-03-25 小米科技有限责任公司 Updating method and updating device for website static files
CN106209925A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 Page loading method, client and system
CN106209925B (en) * 2015-04-29 2019-07-26 阿里巴巴集团控股有限公司 Page loading method, client and system
CN104809016B (en) * 2015-05-13 2019-07-30 北京京东尚科信息技术有限公司 A kind of upgrade method and system of Website page
CN104809016A (en) * 2015-05-13 2015-07-29 北京京东尚科信息技术有限公司 Method and system for upgrading website page
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105049486B (en) * 2015-06-16 2019-03-26 腾讯科技(北京)有限公司 Method for edition management, the apparatus and system of static file
CN105068806B (en) * 2015-08-07 2018-07-17 北京思特奇信息技术股份有限公司 A kind of browser rs cache control method and system
CN105068806A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Browser cache control method and system
CN106598633B (en) * 2015-10-19 2019-12-31 北京国双科技有限公司 Configuration file updating method, client and server
CN106598633A (en) * 2015-10-19 2017-04-26 北京国双科技有限公司 Configuration file update method, client and server
CN105630981A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Network resource loading and configuration method and device
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
US20180041590A1 (en) * 2015-12-28 2018-02-08 Huawei Technologies Co., Ltd. Website access method, apparatus, and website system
US10412176B2 (en) 2015-12-28 2019-09-10 Huawei Technologies Co., Ltd. Website access method, apparatus, and website system
CN106489145B (en) * 2015-12-28 2019-07-26 华为技术有限公司 Access method, device and the Web site system of web site
CN106990975A (en) * 2016-01-21 2017-07-28 阿里巴巴集团控股有限公司 One kind application heat deploying method, device and system
CN107229655A (en) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 The update method of page static file, apparatus and system
CN105956182A (en) * 2016-05-31 2016-09-21 北京奇艺世纪科技有限公司 Resource loading method, apparatus and system
CN105956182B (en) * 2016-05-31 2019-06-14 北京奇艺世纪科技有限公司 A kind of method, apparatus and system of resource load
CN113158110A (en) * 2016-07-08 2021-07-23 创新先进技术有限公司 Data processing method and equipment
CN107704465B (en) * 2016-08-08 2021-11-16 腾讯科技(深圳)有限公司 Static resource updating method and static resource management system
CN107704465A (en) * 2016-08-08 2018-02-16 腾讯科技(深圳)有限公司 Static resource update method and static resource management system
WO2018120436A1 (en) * 2016-12-26 2018-07-05 武汉斗鱼网络科技有限公司 Version control method and system for flash application
CN106843935A (en) * 2016-12-29 2017-06-13 广州华多网络科技有限公司 A kind of method and system for automatically updating static file version number
CN108399072A (en) * 2017-02-06 2018-08-14 腾讯科技(深圳)有限公司 Five application page update method and device
CN108399072B (en) * 2017-02-06 2022-08-19 腾讯科技(深圳)有限公司 Application page updating method and device
CN107145528A (en) * 2017-04-14 2017-09-08 北京趣拿软件科技有限公司 Update method, the apparatus and system of cache file
CN109358895A (en) * 2017-12-28 2019-02-19 广州Tcl智能家居科技有限公司 A kind of dispositions method of HXML, storage medium and application server
CN108282475A (en) * 2018-01-18 2018-07-13 世纪龙信息网络有限责任公司 User identity information read method and system, computer storage media and equipment
CN108415976B (en) * 2018-02-09 2021-11-09 西安博达软件股份有限公司 Method for rapidly publishing website file based on CMS system
CN108415976A (en) * 2018-02-09 2018-08-17 西安博达软件股份有限公司 The method of release quickly site file based on CMS system
CN108846052A (en) * 2018-05-31 2018-11-20 郑州云海信息技术有限公司 A kind of browser caching data update method and relevant apparatus
CN108804155A (en) * 2018-05-31 2018-11-13 中链科技有限公司 Profile acquisition method, device, terminal and computer readable storage medium
WO2020034952A1 (en) * 2018-08-15 2020-02-20 深圳点猫科技有限公司 Method for optimizing webpage loading speed on basis of browser caching mechanism and electronic device
CN110196724A (en) * 2018-08-17 2019-09-03 平安科技(深圳)有限公司 File loading method, terminal, server, computer equipment and storage medium
CN109308189A (en) * 2018-09-27 2019-02-05 珠海市君天电子科技有限公司 A kind of configuration file update method, device and electronic equipment
CN109543127B (en) * 2018-11-26 2020-12-11 杭州安恒信息技术股份有限公司 Page refreshing method, device and equipment and readable storage medium
CN109543127A (en) * 2018-11-26 2019-03-29 杭州安恒信息技术股份有限公司 A kind of page furbishing method, device, equipment and readable storage medium storing program for executing
CN109729165A (en) * 2018-12-28 2019-05-07 国云科技股份有限公司 A kind of system and method for realizing file download using local cache strategy
CN111506787A (en) * 2020-03-06 2020-08-07 百度在线网络技术(北京)有限公司 Webpage updating method and device, electronic equipment and computer-readable storage medium
CN111506786A (en) * 2020-03-06 2020-08-07 百度在线网络技术(北京)有限公司 Webpage updating method and device, electronic equipment and computer-readable storage medium
CN111506787B (en) * 2020-03-06 2023-04-25 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and computer readable storage medium for web page update
CN111506786B (en) * 2020-03-06 2023-10-27 百度在线网络技术(北京)有限公司 Method, device, electronic equipment and computer readable storage medium for web page update
CN115269066A (en) * 2022-09-19 2022-11-01 平安银行股份有限公司 Interface calling method, device and storage medium
CN115269066B (en) * 2022-09-19 2022-12-20 平安银行股份有限公司 Interface calling method, device and storage medium

Similar Documents

Publication Publication Date Title
CN102109989A (en) Method, device and system for controlling browser cache
CN108279932B (en) Method and device for dynamically configuring user interface of mobile terminal
US10412176B2 (en) Website access method, apparatus, and website system
CN108228282B (en) Method and device for loading website page
US10713034B2 (en) Updating web resources
CN106815276B (en) Page skipping method and device
CN100361448C (en) Managing method of network device
CN101601033B (en) Generating specialized search results in response to patterned queries
CN102833350A (en) Processing method and processing device of WebApp updating
CN102098327A (en) Method and device for downloading online video sniffer
CN106649395A (en) Webpage updating method and apparatus
CN102654885A (en) Mobile terminal webpage adaptation system and method
CN110321177A (en) A kind of mobile application localization loading method, device and electronic equipment
CN106817391A (en) Document breakpoint transmission method and apparatus
US20120233559A1 (en) Method and apparatus for interworking application and web browser
CN102819554A (en) Favorite data processing method and device and server
CN103634393A (en) IVR (interactive voice response) and realization method thereof
CN109032659A (en) Single-page applies the method based on configuration reference remote pages component
CN109492176A (en) A kind of page info update method and device
CN101354725A (en) Method and apparatus for constructing and analyzing WAP page
CN106933569A (en) A kind of webpage method for refreshing and device
CN105808282A (en) Method and device for updating webpage contents of application program
CN108123970A (en) Method for exhibiting data and relevant apparatus
CN106708494A (en) JAR upgrading method and apparatus
WO2015183235A1 (en) Response based on browser engine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1155258

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110629

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1155258

Country of ref document: HK