CN108319653A - Web page resources document handling method and device - Google Patents

Web page resources document handling method and device Download PDF

Info

Publication number
CN108319653A
CN108319653A CN201711474018.5A CN201711474018A CN108319653A CN 108319653 A CN108319653 A CN 108319653A CN 201711474018 A CN201711474018 A CN 201711474018A CN 108319653 A CN108319653 A CN 108319653A
Authority
CN
China
Prior art keywords
file
resource file
resource
webpage
web page
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
CN201711474018.5A
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.)
Grain Science And Technology Co Ltd
Original Assignee
Grain Science And Technology Co 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 Grain Science And Technology Co Ltd filed Critical Grain Science And Technology Co Ltd
Priority to CN201711474018.5A priority Critical patent/CN108319653A/en
Publication of CN108319653A publication Critical patent/CN108319653A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of web page resources document handling method and devices, and wherein method includes step:Obtain the file type of the resource file of webpage, the resource file of the webpage is classified according to file type according to file type, form resource file grouping, the different domain name of respectively each resource file packet configuration simultaneously maps in each resource file grouping, and resource file is grouped and carries out compression processing, resource file is placed on the corresponding loading position of webpage.Above-mentioned web page resources document handling method, resource file is grouped simultaneously compression processing according to resource file type, and different domain names is configured to the resource file of different classifications, when accessing webpage, from the different corresponding resource files of domain name access, access speed slows down caused by single domain name visit capacity is limited when avoiding access concurrency big, further carries out classified compression according to the type of resource file, divide domain name access, effectively promotes the access speed of webpage.

Description

Web page resources document handling method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of web page resources document handling method and device.
Background technology
With the development of Internet technology, webpage loads diversification of forms, load document number and the size of resource file While dramatically increasing, the demand to promoting webpage access speed is also higher and higher.
Increase server bandwidth currently, the access speed for improving webpage mostly uses greatly, improve the performance of CPU or increase more The modes such as platform server, although these methods can improve access speed, but if being only with these measures, web page access Speed promotion effect is limited, can also greatly increase the cost of website.If it is a large-scale website, need to load many money Source file, such as picture, animation and font file, prodigious in access concurrency, webpage access speed is slow.
Invention content
Based on this, it is necessary to for the problem that conventional web access speed is slow, provide a kind of web page resources file process side Method and device.
A kind of web page resources document handling method, includes the following steps:
Obtain the file type of the resource file of webpage;
The resource file of the webpage is classified according to file type according to the file type, forms resource file Grouping;
The different domain name of respectively each resource file packet configuration simultaneously maps in each resource file grouping, and to institute It states resource file grouping and carries out compression processing;
The resource file is placed on the corresponding loading position of webpage.
Resource file is grouped according to the type of resource file and compresses place by above-mentioned web page resources document handling method Reason, and different domain names is configured to the resource file of different classifications, when accessing webpage, provided accordingly from different domain name access Source file, using the single domain name visit capacity basis that access speed slows down caused by limited when avoiding access concurrency big On, classified compression is carried out yet further still according to the type of resource file, divides domain name access, effectively promotes the access speed of webpage Degree.
In one embodiment, the type of the resource file includes CSS files, JS files, font file, picture file And/or video file.
In one embodiment, described the step of being grouped progress compression processing to the resource file, includes:To video text Part and/or picture file carry out picture compression processing, are carried out at code compaction to CSS files, JS files and/or font file Reason.
In one embodiment, web page resources document handling method of the invention further includes step:Obtain each resource text The data volume size of part;Resource file is grouped according to data volume size, by data volume resource file of different sizes point It is not stored in different servers.
The technical solution of above-described embodiment is grouped simultaneously resource file according to the size of the data volume of resource file It is stored respectively in different servers, when webpage loads resource file, resource file of different sizes is respectively from different It extracts and accesses in database, can further promote the access speed of webpage.
In one embodiment, described that resource file is grouped according to data volume size, data volume is of different sizes The step that is respectively stored in different servers of resource file include:
Build large capacity document storage server and low capacity document storage server;It will be greater than the resource of data-quantity threshold File is stored in large capacity document storage server;Resource file less than or equal to data-quantity threshold is stored in low capacity file In storage server.
Resource file is divided according to size, and is stored respectively in large capacity by the technical solution of above-described embodiment In two servers of document storage server and low capacity document storage server, divides size storage to be promoted in resource file and access While speed, number of servers is saved to save system cost.
In one embodiment, web page resources document handling method of the invention further includes step:By the resource file It is divided into pattern file or event handling file according to file type, pattern file is placed in the head of html file, at event After reason file is placed in the main body of html file.
The technical solution of above-described embodiment, when carrying out resource file load, the patterns file such as pre-loaded CSS, it is not necessary to It waits for HTML loadeds that can start to render the page, improves the loading efficiency of pattern file, and by events such as JS files After processing file is placed in the main body of html file, JS files are reloaded after html file and carry out event handling, do not influence sample The load of formula file and html file, to effectively improve the access efficiency of webpage entirety.
In one embodiment, web page resources document handling method of the invention further includes step:Receive resource file Load request instructs;It is instructed according to the load request, searches the corresponding domain name of the resource file;It is instructed according to load request And domain name, load the resource file in corresponding server.
The technical solution of above-described embodiment is instructed according to the load request, searches corresponding domain name load corresponding with service The resource file of device, since the resource file has been classification map, different domain names stores, and multiple types file is avoided to make The case where loading congestion with single domain name, file loading velocity is very fast.And corresponding file is clicked in user, generate load request After instruction, corresponding file is reloaded, avoids once loading webpage opening speed caused by all files when opening webpage and subtracting Slowly, the access speed of webpage is promoted.
A kind of web page resources document handling apparatus, including:
Resource type acquisition module, the file type of the resource file for obtaining webpage;
Resource classification module, for being carried out the resource file of the webpage according to file type according to the file type Classification forms resource file grouping;
Domain name distribution module, for being respectively the different domain name of each resource file packet configuration and mapping to each resource In file grouping, and the resource file is grouped and carries out compression processing;
Resource consolidation module, for the resource file to be placed on the corresponding loading position of webpage.
Resource file is grouped according to the type of resource file and compresses place by above-mentioned web page resources document handling apparatus Reason, and different domain names is configured to the resource file of different classifications, when accessing webpage, provided accordingly from different domain name access Source file, using the single domain name visit capacity basis that access speed slows down caused by limited when avoiding access concurrency big On, classified compression is carried out yet further still according to the type of resource file, divides domain name access, effectively promotes the access speed of webpage Degree.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Resource size acquisition module, the data volume size for obtaining each resource file;
Resource memory module, it is for being grouped to resource file according to data volume size, data volume is of different sizes Resource file is respectively stored in different servers.
In one embodiment, the resource memory module includes:
Server construction module, for building large capacity document storage server and low capacity document storage server;
Big file storage module, the resource file for will be greater than data-quantity threshold are stored in large capacity document storage server In;
Small documents memory module, the resource file deposit low capacity file storage for data-quantity threshold will to be less than or equal to In server.
In one embodiment, the type of the resource file includes CSS files, JS files, font file, picture file And/or video file.
In one embodiment, domain name distribution module is being executed to resource file grouping progress compression processing When step, be further used for carrying out picture compression processing to video file and/or picture file, to CSS files, JS files and/ Or font file carries out code compaction processing.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Webpage integrates module, for the resource file to be divided into pattern file or event handling text according to file type Pattern file is placed in the head of html file, after event handling file is placed in the main body of html file by part.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Command reception module, the load request for receiving resource file instruct;
Domain name lookup module searches the corresponding domain name of the resource file for being instructed according to the load request;
Resource load-on module, for according to load request instruction and domain name, loading described in corresponding server Resource file.
The present invention also provides a kind of computer equipment, including memory, processor and it is stored on the memory simultaneously The computer program that can be run on the processor, the processor are realized as above any one when executing the computer program Web page resources document handling method described in a embodiment.
Above computer equipment is realized by the computer program run on the processor according to resource file Resource file is grouped simultaneously compression processing by type, and different domain names is configured to the resource file of different classifications, is being accessed When webpage, from the different corresponding resource files of domain name access, avoid accessing using single domain name when access concurrency is big On the basis of access speed slows down caused by amount is limited, classified compression is carried out yet further still according to the type of resource file, point Class divides domain name access, effectively promotes the access speed of webpage.
The present invention also provides a kind of computer storage medias, are stored thereon with computer program, which is held by processor The web page resources document handling method described in as above any one embodiment is realized when row.
Above computer storage medium, by the computer program of its storage, realizing will according to the type of resource file Resource file is grouped and compression processing, and different domain names is configured to the resource file of different classifications, when accessing webpage, From the different corresponding resource files of domain name access, avoid accessing concurrency it is big when it is limited using single domain name visit capacity and On the basis of caused access speed slows down, classified compression is carried out yet further still according to the type of resource file, divides domain name It accesses, effectively promotes the access speed of webpage.
Description of the drawings
Fig. 1 is the web page resources document handling method flow chart of one embodiment of the invention;
Fig. 2 is the web page resources document handling apparatus structural schematic diagram of one embodiment of the invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is the web page resources document handling method flow chart of one embodiment of the invention referring to Fig. 1, Fig. 1, the webpage money Source file processing includes the following steps:
S101 obtains the file type of the resource file of webpage;
Wherein, web page resources file refers to the resource file for load on webpage, and the type of resource file can basis Suffix name of resource file etc. obtains.
The type of resource file may include multiple types, and in one embodiment, the type of the resource file includes CSS files, JS files, font file, picture file and/or video file.
Wherein, the JS files, refer to the file of the entitled .js of suffix, and JS (JavaScript) is a kind of literal translation formula script Language is used for the interaction design of webpage.
The CSS files, refer to the file of the entitled .css of suffix, and CSS (Cascading Style Sheets) is stacking Style sheet is a kind of computer language being used for showing file pattern.
S102 classifies the resource file of the webpage according to file type according to the file type, forms money Source file is grouped;
It in this step, can be according to the file type of each resource file for the webpage that abovementioned steps obtain, to resource text Part is classified, and the resource file of same type is divided into one kind, and forms corresponding resource file grouping.
Type with the resource file includes that CSS files, JS files, font file, picture file and video file are Example, then can respectively be divided into one group by CSS files, JS files, font file, picture file and the video file in resource file.
S103, the different domain name of respectively each resource file packet configuration simultaneously map in each resource file grouping, And the resource file is grouped and carries out compression processing;
In this step, it is grouped according to the resource file of abovementioned steps, a different domain is respectively configured to each Name, and the resource file being mapped in the grouping form domain name allocation list, and further according to grouping to the resource of each grouping File carries out compression processing.
Compression processing is carried out to the resource file of each grouping, different modes can be used, it is in one embodiment, described Being grouped the step of carrying out compression processing to the resource file includes:Picture compression is carried out to video file and/or picture file Processing carries out code compaction processing to CSS files, JS files and/or font file.
The resource file is placed on the corresponding loading position of webpage by S104.
In this step, the resource file by abovementioned steps processing is placed on the corresponding loading position of webpage, after being used for Continuous web page resources, which access, to be obtained.
Resource file is grouped according to the type of resource file and compresses place by above-mentioned web page resources document handling method Reason, and different domain names is configured to the resource file of different classifications, when accessing webpage, provided accordingly from different domain name access Source file, using the single domain name visit capacity basis that access speed slows down caused by limited when avoiding access concurrency big On, classified compression is carried out yet further still according to the type of resource file, divides domain name access, effectively promotes the access speed of webpage Degree.
In addition to mapping different domain names according to resource file classification of type to promote the access speed of webpage, can also pass through Other resource file processing modes promote the access speed of webpage, in one embodiment, web page resources file of the invention Processing method further includes step:
Obtain the data volume size of each resource file;Resource file is grouped according to data volume size, by data Resource file of different sizes is measured to be respectively stored in different servers.
The technical solution of above-described embodiment is grouped simultaneously resource file according to the size of the data volume of resource file It is stored respectively in different servers, when webpage loads resource file, resource file of different sizes is respectively from different It extracts and accesses in database, can further promote the access speed of webpage.
Point size of web page resources file is stored in different servers, can there are many different ways of realization, Such as different data volume size packets can be divided and be stored in the different server of quantity etc., in one embodiment, It is described that resource file is grouped according to data volume size, data volume resource file of different sizes is respectively stored in difference Server in step include:
Build large capacity document storage server and low capacity document storage server;It will be greater than the resource of data-quantity threshold File is stored in large capacity document storage server;Resource file less than or equal to data-quantity threshold is stored in low capacity file In storage server.
Resource file is divided according to size, and is stored respectively in large capacity by the technical solution of above-described embodiment In two servers of document storage server and low capacity document storage server, divides size storage to be promoted in resource file and access While speed, number of servers is saved to save system cost.
In one embodiment, web page resources document handling method of the invention further includes step:By the resource file It is divided into pattern file or event handling file according to file type, pattern file is placed in the head of html file, at event After reason file is placed in the main body of html file.
Wherein, the HTML (HyperText Markup Language) refers to hypertext markup language, the HTML texts Part can be the html file of different editions, and in one embodiment, the html file is HTML5 files.
The pattern file is the file for rendering page display effect, such as CSS files, video file, picture text Part and/or font file etc., the event handling file are the file, such as JS files etc. for handling event.
The technical solution of above-described embodiment, when carrying out webpage load, the patterns file such as pre-loaded CSS, it is not necessary to wait for HTML loadeds can start to render the page, improve the loading efficiency of pattern file, and by event handlings such as JS files After file is placed in the main body of html file, JS files are reloaded after html file and carry out event handling, do not influence pattern text The load of part and html file, to effectively improve the access efficiency of webpage entirety.
In one embodiment, web page resources document handling method of the invention further includes step:Receive resource file Load request instructs;It is instructed according to the load request, searches the corresponding domain name of the resource file;It is instructed according to load request And domain name, load the resource file in corresponding server.
The technical solution of above-described embodiment is instructed according to the load request, searches corresponding domain name load corresponding with service The resource file of device, since the resource file has been classification map, different domain names stores, and multiple types file is avoided to make The case where loading congestion with single domain name, file loading velocity is very fast.And corresponding file is clicked in user, generate load request After instruction, corresponding file is reloaded, avoids once loading webpage opening speed caused by all files when opening webpage and subtracting Slowly, the access speed of webpage is promoted.
It is the web page resources document handling apparatus structural schematic diagram of one embodiment of the invention, the webpage referring to Fig. 2, Fig. 2 Resource file processing unit includes:
Resource type acquisition module 201, the file type of the resource file for obtaining webpage;
Resource classification module 202 is used for the resource file of the webpage according to the file type according to file type Classify, forms resource file grouping;
Domain name distribution module 203, for being respectively the different domain name of each resource file packet configuration and mapping to each In resource file grouping, and the resource file is grouped and carries out compression processing;
Resource consolidation module 204, for resource file grouping to be placed on the corresponding loading position of webpage.
Resource file is grouped according to the type of resource file and compresses place by above-mentioned web page resources document handling apparatus Reason, and different domain names is configured to the resource file of different classifications, when accessing webpage, provided accordingly from different domain name access Source file, using the single domain name visit capacity basis that access speed slows down caused by limited when avoiding access concurrency big On, classified compression is carried out yet further still according to the type of resource file, divides domain name access, effectively promotes the access speed of webpage Degree.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Resource size acquisition module, the data volume size for obtaining each resource file;
Resource memory module, it is for being grouped to resource file according to data volume size, data volume is of different sizes Resource file is respectively stored in different servers.
In one embodiment, the resource memory module includes:
Server construction module, for building large capacity document storage server and low capacity document storage server;
Big file storage module, the resource file for will be greater than data-quantity threshold are stored in large capacity document storage server In;
Small documents memory module, the resource file deposit low capacity file storage for data-quantity threshold will to be less than or equal to In server.
In one embodiment, the type of the resource file includes CSS files, JS files, font file, picture file And/or video file.
In one embodiment, domain name distribution module 203 carries out at compression resource file grouping in execution When the step of reason, it is further used for carrying out picture compression processing to video file and/or picture file, to CSS files, JS files And/or font file carries out code compaction processing.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Webpage integrates module, for the resource file to be divided into pattern file or event handling text according to file type Pattern file is placed in the head of html file, after event handling file is placed in the main body of html file by part.
In one embodiment, web page resources document handling apparatus of the invention further includes:
Command reception module, the load request for receiving resource file instruct;
Domain name lookup module searches the corresponding domain name of the resource file for being instructed according to the load request;
Resource load-on module, for according to load request instruction and domain name, loading described in corresponding server Resource file.
The web page resources document handling apparatus of the present invention and the web page resources document handling method of the present invention correspond, The technical characteristic and advantage that the embodiment of above-mentioned web page resources document handling method illustrates are suitable for web page resources text In the embodiment of part processing unit, hereby give notice that.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processing The computer program run on device, the processor are realized when executing the computer program described in as above any one embodiment Web page resources document handling method.
Above computer equipment is realized by the computer program run on the processor according to resource file Resource file is grouped simultaneously compression processing by type, and different domain names is configured to the resource file of different classifications, is being accessed When webpage, from the different corresponding resource files of domain name access, avoid accessing using single domain name when access concurrency is big On the basis of access speed slows down caused by amount is limited, classified compression is carried out yet further still according to the type of resource file, point Class divides domain name access, effectively promotes the access speed of webpage.
A kind of computer storage media, is stored thereon with computer program, is realized when which is executed by processor as above Web page resources document handling method described in any one embodiment.
Above computer storage medium, by the computer program of its storage, realizing will according to the type of resource file Resource file is grouped and compression processing, and different domain names is configured to the resource file of different classifications, when accessing webpage, From the different corresponding resource files of domain name access, avoid accessing concurrency it is big when it is limited using single domain name visit capacity and On the basis of caused access speed slows down, classified compression is carried out yet further still according to the type of resource file, divides domain name It accesses, effectively promotes the access speed of webpage.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction executing device, device or equipment (device of such as computer based device including processor or other can be held from instruction Luggage sets, device or equipment instruction fetch and the device executed instruction) it uses, or combine these instruction executing devices, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing Defeated program is for instruction executing device, device or equipment or the dress used in conjunction with these instruction executing devices, device or equipment It sets.
The more specific example (non-exhaustive list) of computer-readable medium includes following:It is connected up with one or more Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction executing device be executed with storage Or firmware is realized.
In the description of this specification, the description of reference term " one embodiment " etc. means to combine the embodiment or example Particular features, structures, materials, or characteristics described are included at least one embodiment or example of the invention.In this explanation In book, schematic expression of the above terms may not refer to the same embodiment or example.Moreover, the specific spy of description Sign, structure, material or feature can be combined in any suitable manner in any one or more of the embodiments or examples.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of web page resources document handling method, which is characterized in that include the following steps:
Obtain the file type of the resource file of webpage;
The resource file of the webpage is classified according to file type according to the file type, forms resource file point Group;
The different domain name of respectively each resource file packet configuration simultaneously maps in each resource file grouping, and to the money Source file grouping carries out compression processing;
The resource file is placed on the corresponding loading position of webpage.
2. web page resources document handling method according to claim 1, which is characterized in that further include step:
Obtain the data volume size of each resource file;
Resource file is grouped according to data volume size, data volume resource file of different sizes is respectively stored in difference Server in.
3. web page resources document handling method according to claim 2, which is characterized in that described according to data volume size pair Resource file is grouped, step packet data volume resource file of different sizes being respectively stored in different servers It includes:
Build large capacity document storage server and low capacity document storage server;
In the resource file deposit large capacity document storage server that will be greater than data-quantity threshold;
Resource file less than or equal to data-quantity threshold is stored in low capacity document storage server.
4. web page resources document handling method according to any one of claims 1 to 3, which is characterized in that the resource text The type of part includes CSS files, JS files, font file, picture file and/or video file.
5. web page resources document handling method according to claim 4, which is characterized in that described to the resource file point Organizing the step of carrying out compression processing includes:
Picture compression processing is carried out to video file and/or picture file, CSS files, JS files and/or font file are carried out Code compaction processing.
6. web page resources document handling method according to any one of claims 1 to 3, which is characterized in that further include step:
The resource file is divided into pattern file or event handling file according to file type, pattern file is placed in HTML The head of file, after event handling file is placed in the main body of html file.
7. web page resources document handling method according to any one of claims 1 to 3, which is characterized in that further include step:
Receive the load request instruction of resource file;
It is instructed according to the load request, searches the corresponding domain name of the resource file;
According to load request instruction and domain name, the resource file in corresponding server is loaded.
8. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Web page resources document handling method described in 7 any one.
9. a kind of computer storage media, is stored thereon with computer program, which is characterized in that when the program is executed by processor Realize the web page resources document handling method as described in claim 1 to 7 any one.
10. a kind of web page resources document handling apparatus, which is characterized in that including:
Resource type acquisition module, the file type of the resource file for obtaining webpage;
Resource classification module, for being divided the resource file of the webpage according to file type according to the file type Class forms resource file grouping;
Domain name distribution module, for being respectively the different domain name of each resource file packet configuration and mapping to each resource file In grouping, and the resource file is grouped and carries out compression processing;
Resource consolidation module, for the resource file to be placed on the corresponding loading position of webpage.
CN201711474018.5A 2017-12-29 2017-12-29 Web page resources document handling method and device Pending CN108319653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711474018.5A CN108319653A (en) 2017-12-29 2017-12-29 Web page resources document handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711474018.5A CN108319653A (en) 2017-12-29 2017-12-29 Web page resources document handling method and device

Publications (1)

Publication Number Publication Date
CN108319653A true CN108319653A (en) 2018-07-24

Family

ID=62893395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711474018.5A Pending CN108319653A (en) 2017-12-29 2017-12-29 Web page resources document handling method and device

Country Status (1)

Country Link
CN (1) CN108319653A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908958A (en) * 2019-11-22 2020-03-24 珠海豹趣科技有限公司 File processing method, device, terminal and storage medium
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN111008048A (en) * 2019-11-22 2020-04-14 珠海豹趣科技有限公司 File loading method and device and readable storage medium
CN112130782A (en) * 2020-09-22 2020-12-25 上海汉图科技有限公司 Printing method and device and printing client

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996193A (en) * 2009-08-21 2011-03-30 北京搜狗科技发展有限公司 Processing method and system for expressing network resource link and internet terminal
CN105190598A (en) * 2013-02-28 2015-12-23 惠普发展公司,有限责任合伙企业 Resource reference classification
CN106210000A (en) * 2016-06-30 2016-12-07 武汉斗鱼网络科技有限公司 A kind of method and system that webpage front-end resource is carried out load balancing
CN106874520A (en) * 2017-03-20 2017-06-20 北京猎豹移动科技有限公司 Webpage loading method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996193A (en) * 2009-08-21 2011-03-30 北京搜狗科技发展有限公司 Processing method and system for expressing network resource link and internet terminal
CN105190598A (en) * 2013-02-28 2015-12-23 惠普发展公司,有限责任合伙企业 Resource reference classification
CN106210000A (en) * 2016-06-30 2016-12-07 武汉斗鱼网络科技有限公司 A kind of method and system that webpage front-end resource is carried out load balancing
CN106874520A (en) * 2017-03-20 2017-06-20 北京猎豹移动科技有限公司 Webpage loading method, device and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN110908958A (en) * 2019-11-22 2020-03-24 珠海豹趣科技有限公司 File processing method, device, terminal and storage medium
CN111008048A (en) * 2019-11-22 2020-04-14 珠海豹趣科技有限公司 File loading method and device and readable storage medium
CN110908958B (en) * 2019-11-22 2023-11-24 珠海豹趣科技有限公司 File processing method, device, terminal and storage medium
CN111008048B (en) * 2019-11-22 2023-12-26 珠海豹趣科技有限公司 File loading method and device and readable storage medium
CN112130782A (en) * 2020-09-22 2020-12-25 上海汉图科技有限公司 Printing method and device and printing client

Similar Documents

Publication Publication Date Title
CN108319653A (en) Web page resources document handling method and device
CN107577509A (en) A kind of method, terminal and computer-readable recording medium for loading application interface
CN111143729B (en) Optimization method, device, equipment and storage medium based on single page application
US8745341B2 (en) Web server cache pre-fetching
CN104281626B (en) Web page display method and web page display device based on pictured processing
US20120311589A1 (en) Systems and methods for processing hierarchical data in a map-reduce framework
US9716770B2 (en) Cache control for web application resources
CN104077387A (en) Webpage content display method and browser device
US20100094822A1 (en) System and method for determining a file save location
CN110309386B (en) Method and device for crawling web page
CN106294597B (en) The method and apparatus being grouped for the static resource to webpage
CN102799613A (en) Showing method and device for recently-used file
CN103294718A (en) Method and device for web page cache management
CN104111922A (en) Processing method and device of streaming document
CN102880707B (en) Webpage body content recognition methods and device
CN111881394B (en) Request processing method and system for application middle layer
CN109783130A (en) A kind of packaging method and server of front end project
CN102609503A (en) Method and device for generating static webpages
CN105404672B (en) The system and method for web data storage and operation
CN110022336A (en) Improve method, storage medium, equipment and the system of Internet resources speed of download
CN102955852A (en) Method, device and equipment for webpage resource processing
CN102999591B (en) File management method and device
CN102890687A (en) Method, system and device for browsing webpage diagrams
CN110502472A (en) A kind of the cloud storage optimization method and its system of large amount of small documents
CN112579947A (en) Webpage element graph intercepting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724

RJ01 Rejection of invention patent application after publication