CN106980497A - Webpage and website performance optimization method and device - Google Patents

Webpage and website performance optimization method and device Download PDF

Info

Publication number
CN106980497A
CN106980497A CN201710073420.6A CN201710073420A CN106980497A CN 106980497 A CN106980497 A CN 106980497A CN 201710073420 A CN201710073420 A CN 201710073420A CN 106980497 A CN106980497 A CN 106980497A
Authority
CN
China
Prior art keywords
dom
website
optimized
optimization
code
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
CN201710073420.6A
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.)
Nine Fangda Data Information Group Co Ltd
Original Assignee
Nine Fangda Data Information Group 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 Nine Fangda Data Information Group Co Ltd filed Critical Nine Fangda Data Information Group Co Ltd
Priority to CN201710073420.6A priority Critical patent/CN106980497A/en
Publication of CN106980497A publication Critical patent/CN106980497A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of webpage and website performance optimization method and device.Wherein, this method includes:Obtain optimization request;According to optimization request, the dom structures of the page of website to be optimized are extracted;Dom construction packages are obtained into dom construction packages;The operation for the dom structures in dom construction packages remove redundant code, generate upward-compatible or backward compatible semantization code, remove inline style, dom scripts after generation processing.The present invention solves the huge technical problem of some old project secondary development in the prior art for web site or the time caused of upgrading again, the consuming of manpower and financial resources.

Description

Webpage and website performance optimization method and device
Technical field
The present invention relates to computer internet field, in particular to a kind of webpage and website performance optimization method and dress Put.
Background technology
For web technology exploitation, existing some solutions both for it is untapped when propose, it is old for some The solution of project, is developed in developing instantly to front end and website is to web site performance and the requirement more and more higher of seo optimizations, and these are old Old project is in project development due to technological accumulation and inheritance influence at that time, and website may be not perfect enough, if secondary development or pushed away Turn over and reform, it is both time-consuming, and cost source is, it is necessary to develop App and the server end exploitation of different platform, time-intensive, expensive, content Need continuous updating, in addition it is also necessary to the compatibling problem produced after the upgrading for considering the operating systems such as mobile phone, repeat website maintenance and The Content Management repeated causes high maintenance cost.
For above-mentioned some old project secondary development in the prior art for web site or upgrade again cause when Between, the problem of the consuming of manpower and financial resources is huge, effective solution is not yet proposed at present.
The content of the invention
The present invention provides a kind of webpage and website performance optimization method and device, at least to solve in the prior art for web The old project secondary development of some of website or the time caused of upgrading again, the huge technology that expends of manpower and financial resources ask Topic.
One side according to embodiments of the present invention there is provided a kind of webpage and website performance optimization method, including:Obtain excellent Change request;According to optimization request, the dom structures of the page of website to be optimized are extracted;Dom construction packages are obtained into dom structure groups Part;Dom structures in dom construction packages are carried out removing redundant code, upward-compatible or backward compatible semantization generation is generated Code, the operation for removing inline style, dom scripts after generation processing.
Preferably, after acquisition optimization request, in addition to:Extract the content of pages information of the page of website to be optimized; After generation processing after dom scripts, in addition to:According in dom scripts, content of pages information and predetermined keyword after processing extremely One item missing, obtains search engine optimization information.
In any of the above-described scheme preferably, after acquisition optimization request, in addition to:According at least one media types And the corresponding style rule of media types, generate medium adaptation code using CSS media inquiry mode.
In any of the above-described scheme preferably, after acquisition optimization request, in addition to:It is excellent according to treating based on webpack Change the reference information of the page of website, generate js files;And format transformation, conjunction are carried out to the picture of the page of website to be optimized And or compression processing.
Preferably, after acquisition optimization request, in addition to:The code of website to be optimized is subjected to gzip static resource pressures Contracting.
Another aspect according to embodiments of the present invention, additionally provides a kind of webpage and website performance optimization device, including:Obtain Module, for obtaining optimization request;Extraction module, for according to optimization request, extracting the dom knots of the page of website to be optimized Structure;Package module, for dom construction packages to be obtained into dom construction packages;Processing module, in dom construction packages Dom structures carry out the behaviour for removing redundant code, generating upward-compatible or backward compatible semantization code, removing inline style Make, dom scripts after generation processing.
In any of the above-described scheme preferably, extraction module is additionally operable to extract the content of pages of the page of website to be optimized Information;Device, in addition to:Search engine optimization module, after the dom scripts after processing module generation processing, according to processing Dom scripts, content of pages information and predetermined keyword, obtain search engine optimization information afterwards.
In any of the above-described scheme preferably, device also includes:Medium adaptation module, for obtaining excellent in acquisition module Change after request, according at least one media types and the corresponding style rule of media types, given birth to using CSS media inquiry mode Into medium adaptation code.
Preferably, device also includes:File generating module, for after acquisition module obtains optimization request, being based on Webpack, according to the reference information of the page of website to be optimized, generates js files;Picture processing module, in acquisition module Obtain after optimization request, format transformation, merging or compression processing are carried out to the picture of the page of website to be optimized.
Preferably, device also includes:Compression module, for after acquisition module obtains optimization request, by net to be optimized The code stood carries out gzip static resource compressions.
According to the webpage and website performance optimization method and device of the present invention, by obtaining optimization request;According to optimization request, Extract the dom structures of the page of website to be optimized;Dom construction packages are obtained into dom construction packages;To in dom construction packages Dom structures carry out the behaviour for removing redundant code, generating upward-compatible or backward compatible semantization code, removing inline style Make, dom scripts after generation processing, accomplished primary development can compatible with multiple platforms, to the transformation of old project faster, save duplicate removal Newly developed and manpower and financial resources, reduces the construction cycle, realizes efficient iteratively faster, in the case of motionless source code, only changes Upgrade script realizes the renewal iteration of product, realizes the perfect upgrading and optimization of code, grows with each passing hour, without frequent updating Upgrading, you can obtain newest page content displaying and multiple personalization customization, meet more users demand, increase user and retain Rate, more adapts to the Marketing Environment of modernization, in the case where enjoying high in the clouds optimization acceleration, is adapted to medium-sized and small enterprises official website, media Community, electric business platform etc., can affix one's name in interior wet end, based on enterprise's private network environment, more enterprise can be facilitated to unify O&M, Government and enterprises' door, enterprise-level application (such as OA, ERP, CRM) also are adapted for simultaneously, can be that company or product people bring quick height The business revenue of effect, can not only significantly improve the sale conversion ratio of enterprise web site, and can significantly save enterprise's hair, safeguard and The expense of website is promoted, and then solves some old project secondary development in the prior art for web site or rises again Time that level is caused, the huge technical problem of consuming of manpower and financial resources.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of according to embodiments of the present invention 1 webpage and website performance optimization method;And
Fig. 2 is that according to embodiments of the present invention 2 webpage and website performance optimizes the schematic diagram of device.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
According to the present embodiment there is provided a kind of embodiment of the method for webpage and website performance optimization method, it is necessary to explanation, It can be performed the step of the flow of accompanying drawing is illustrated in the computer system of such as one group computer executable instructions, and And, although logical order is shown in flow charts, but in some cases, can be with different from order execution institute herein The step of showing or describe.
Fig. 1 is webpage and website performance optimization method according to embodiments of the present invention, as shown in figure 1, this method is including as follows Step:
Step S102, obtains optimization request.
Specifically, a plug-in unit for being similar to " key optimization " can be set on website to be optimized, user passes through fortune Row plug-in unit, you can send optimization request.
Step S104, according to optimization request, extracts the dom structures of the page of website to be optimized.
Specifically, by analyzing the content of pages of website to be optimized, can treat excellent to extract according to the exclusive algorithm of script Change the dom structures of the page of website.
Dom construction packages are obtained dom construction packages by step S106.
Specifically, it is possible to use WebComponent components generate a component of relative normalized non-intrusion type.
Step S108, in dom construction packages dom structures carry out remove redundant code, generate it is upward-compatible or downward The semantization code of compatibility, the operation for removing inline style, dom scripts after generation processing.
Specifically, it is possible to use itself UI framework is handled the dom structures in dom construction packages, is ultimately generated The new dom structures of adaptive and compatible with multiple platforms, wherein, new dom structures include dom scripts after processing, can be directed to Different requirements generates upward-compatible or backward compatible semantization code, removes after inline style, the namely industry of generation Pattern file.
In embodiments of the present invention, by obtaining optimization request;According to optimization request, the page of website to be optimized is extracted Dom structures;Dom construction packages are obtained into dom construction packages;Dom structures in dom construction packages are carried out to remove redundancy generation The upward-compatible or backward compatible semantization code of code, generation, the operation for removing inline style, dom scripts after generation processing are done Arrived primary development can compatible with multiple platforms, to the transformation of old project faster, save exploitation and manpower and financial resources again, reduce Construction cycle, efficient iteratively faster is realized, in the case of motionless source code, only change upgrade script to realize the renewal of product Iteration, realizes the perfect upgrading and optimization of code, grows with each passing hour, without frequent updating upgrading, you can obtain in the newest page Hold displaying and multiple personalization customization, meet more users demand, increase user's retention ratio, more adapt to the marketing of modernization Environment, is enjoying in the case that high in the clouds optimization accelerates, is being adapted to medium-sized and small enterprises official website, media community, electric business platform etc., can including Wet end is affixed one's name to, and based on enterprise's private network environment, more enterprise can be facilitated to unify O&M, while also being adapted for government and enterprises' door, enterprise Level applies (such as OA, ERP, CRM), and business revenue rapidly and efficiently can be brought for company or product people, can not only be significantly improved The sale conversion ratio of enterprise web site, and can significantly save enterprise's hair, safeguard and promote the expense of website, and then solve Some old project secondary development in the prior art for web site or upgrade the again time caused, manpower and financial resources The huge technical problem of consuming.
In an optional embodiment, in step S102 after acquisition optimization request, in addition to:Extract website to be optimized The content of pages information of the page;Therefore after generation is handled in step S108 after dom scripts, in addition to:According to dom after processing At least one of in script, content of pages information and predetermined keyword, obtain search engine optimization information.
Specifically, SEO technologies, i.e. search engine optimization technology are used in the embodiment of the present invention, after the processing of generation Dom scripts and the content of pages information captured from the page of website to be optimized, some keywords found in conjunction with own website, Online website in the top can be automatically found, their title (Title) and associated description (description) are copied And arrangement, you can title and the description of suitable website to be optimized are formed, link is formed afterwards, and increase the friend of some similar websites Feelings are linked.
Optionally, searching plain engine optimization information can include:The corresponding ICP's information in website to be optimized The website to be optimized amount of including in a search engine, website to be optimized in a search engine include Diagnostic parameters, net to be optimized The chain of safety post data, the link of head of a station's dock door of search engine and at least one the third party's SEO product inlet stood Connect.
In an optional embodiment, in step S102 after acquisition optimization request, in addition to:According at least one medium Type and the corresponding style rule of media types, medium adaptation code is generated using CSS media inquiry mode.
Specifically, above-described embodiment can realize judge medium (object) type realize it is different show, allow CSS can be with Different media types are more accurately acted on, the different condition (resolution ratio, chromatic number etc.) of same medium passes through different media Type and conditional definition CSS are regular (i.e. the corresponding style rule of media types), and Media Inquiries can more accurately be made by CSS Different condition for different medium types and same media.Most of media characteristic of Media Inquiries all receives min and max For expressing " be more than or equal to " and " it is small with or equal to ".Such as:Width has min-width and max-width Media Inquiries can To be used in@media and@the import rules in CSS, it can also be used in HTML and XML.Belonged to by this label Property, abundant interface, particularly mobile device can be very easily realized under different equipment, it will with more wide It is general.
In an optional embodiment, in step S102 after acquisition optimization request, in addition to:Based on webpack, according to The reference information of the page of website to be optimized, generates js files;And conversion lattice are carried out to the picture of the page of website to be optimized Formula, merging or compression processing.
Specifically, webpack is a module loader and strapping tool, it (can contain various resources, such as JS JSX), coffee, pattern (containing less/sass), picture etc. are all used and handled as module, support amd, commjs isotactic Model, can quote degree according to the page, extract different js files, reject duplicated code, Optimized code, and automatic detection generation Code.
, for example can be by specifically, when handling picture, actual size and size based on picture are handled Some small pictures switch to base64 forms or are merged into a pictures, and processing can be then compressed for larger picture.
In an optional embodiment, in step S102 after acquisition optimization request, in addition to:By the generation of website to be optimized Code carries out gzip static resource compressions.
Specifically, substantial amounts of JavaScript and css files are unavoidably used in web system, as increased income JavaScript frameworks prototype, jQuery, extjs-core etc., these js frameworks are few to have hundreds of K, in use very Be easily caused system reflection slow, in order to improve the speed of download of js, css file so that improve the page response speed, it is necessary to Reduce the size of file, reducing the size of file there are many js tools of compression to accomplish, compared to conventional js Tool of compression, the technology of gzip static compress is the mode of most efficient and low-risk.If using js tools of compression compress js, Css files, the problem of having many, and to solve these problems, it is necessary to pay many human resources.Because generally Old project, or some only consider the web system that is used in IE, when js codes are write, have it is many nonstandardly Side, such as forgotten to beat after sentence ";" number, ie can pass through, and some other browser is not recognized but;After js compressions, it can cause even It can not also be run inside ie.The problem of solving after these js compressions, it is necessary to carry out strict test, and be all difficult often hair It is now specific wrong where, finally probably taking the substantial amounts of time goes misarrangement.And gzip static compress technologies are used, but absolutely To being not in these problems, and compression ratio compresses taller many than js, because present browser has all been propped up completely Gzip technologies (IE, red fox firefox, the safari of apple, the chrome of Google of such as Microsoft) are held, so also without load Support issue of the heart browser to gzip.
Optionally, the code of website to be optimized is carried out code being merged and being mixed when gzip static resources compress Confuse, gzip compressions are carried out by server end afterwards, in a kind of optional embodiment, to the gzip static pressures of original web system Contracting processing method can be:* .js in web system, * .css files are preserved into * beforehand through gzip.exe compressions .jsgz, * .cssgz files, reference jsgz, cssgz file is converted to by the place that js, css file are quoted in web system;Visitor Family end ask jsgz, cssgz file when, server by filter set header, by it is all with jsgz, cssgz end up The request increase of file sets " header Content-Encoding=gzip " head response.
Embodiment 2
According to embodiments of the present invention there is provided the product embodiments that a kind of webpage and website performance optimizes device, Fig. 2 is basis The webpage and website performance optimization device of this product embodiment, as shown in Fig. 2 the device includes acquisition module, extraction module, encapsulation Module and processing module.
Wherein, acquisition module, for obtaining optimization request;Extraction module, for according to optimization request, extracting net to be optimized The dom structures for the page stood;Package module, for dom construction packages to be obtained into dom construction packages;Processing module, for pair Dom structures in dom construction packages carry out removing redundant code, generate upward-compatible or backward compatible semantization code, go Except the operation of inline style, dom scripts after generation processing.
In the present embodiment, optimization request is obtained by acquisition module, extraction module is extracted to be optimized according to optimization request Dom construction packages are obtained dom construction packages by the dom structures of the page of website, package module, by processing module to dom structures Dom structures in component carry out removing redundant code, generate upward-compatible or backward compatible semantization code, remove sample in row The operation of formula, dom scripts after generation processing, accomplished primary development can compatible with multiple platforms, to the transformation of old project faster, Exploitation and manpower and financial resources again are saved, the construction cycle is reduced, realizes efficient iteratively faster, in the case of motionless source code, Only change upgrade script to realize the renewal iteration of product, realize the perfect upgrading and optimization of code, grow with each passing hour, without frequency It is numerous to update upgrading, you can to obtain newest page content displaying and multiple personalization customization, meet more users demand, increase and use Family retention ratio, more adapts to the Marketing Environment of modernization, in the case where enjoying high in the clouds optimization acceleration, is adapted to medium-sized and small enterprises official Net, media community, electric business platform etc., can affix one's name in interior wet end, based on enterprise's private network environment, more enterprise can be facilitated to unite One O&M, can be that company or product people bring while also being adapted for government and enterprises' door, enterprise-level application (such as OA, ERP, CRM) Business revenue rapidly and efficiently, can not only significantly improve the sale conversion ratio of enterprise web site, and can significantly save enterprise's hair, dimension Shield and the expense for promoting website, so solve some old project secondary development in the prior art for web site or Again upgrade the time caused, the huge technical problem of consuming of manpower and financial resources.
In an optional embodiment, extraction module is additionally operable to extract the content of pages information of the page of website to be optimized; Device, in addition to:Search engine optimization module, after the dom scripts after processing module generation processing, according to dom after processing Script, content of pages information and predetermined keyword, obtain search engine optimization information.
In an optional embodiment, device also includes:Medium adaptation module, for obtaining optimization request in acquisition module Afterwards, according at least one media types and the corresponding style rule of media types, medium is generated using CSS media inquiry mode Adaptation code.
In an optional embodiment, device also includes:File generating module, for obtaining optimization request in acquisition module Afterwards, based on webpack, according to the reference information of the page of website to be optimized, js files are generated;And picture processing module, use After optimization request is obtained in acquisition module, the picture of the page of website to be optimized is carried out at format transformation, merging or compression Reason.
In an optional embodiment, device also includes:Compression module, for acquisition module obtain optimization request after, The code of website to be optimized is subjected to gzip static resource compressions.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, Ke Yiwei A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of webpage and website performance optimization method, including:
Obtain optimization request;
According to the optimization request, the dom structures of the page of website to be optimized are extracted;
The dom construction packages are obtained into dom construction packages;
To in the dom construction packages the dom structures carry out remove redundant code, generate it is upward-compatible or backward compatible Semantization code, the operation for removing inline style, dom scripts after generation processing.
2. according to the method described in claim 1, it is characterised in that after the acquisition optimization request, in addition to:
Extract the content of pages information of the page of the website to be optimized;
After generation processing after dom scripts, in addition to:
At least one of in dom scripts, the content of pages information and predetermined keyword after the processing, obtain search and draw Hold up optimization information.
3. according to the method described in claim 1, it is characterised in that after obtaining optimization request, in addition to:
According at least one media types and the corresponding style rule of the media types, given birth to using CSS media inquiry mode Into medium adaptation code.
4. according to the method described in claim 1, it is characterised in that after the acquisition optimization request, in addition to:
Based on webpack, according to the reference information of the page of the website to be optimized, js files are generated;And treat excellent to described The picture for changing the page of website carries out format transformation, merging or compression processing.
5. according to the method described in claim 1, it is characterised in that after obtaining optimization request, in addition to:
The code of the website to be optimized is subjected to gzip static resource compressions.
6. a kind of webpage and website performance optimizes device, including:
Acquisition module, for obtaining optimization request;
Extraction module, for according to the optimization request, extracting the dom structures of the page of website to be optimized;
Package module, for the dom construction packages to be obtained into dom construction packages;
Processing module, in the dom construction packages the dom structures carry out remove redundant code, generation upwards it is simultaneous Perhaps backward compatible semantization code, the operation for removing inline style, dom scripts after generation processing.
7. device according to claim 6, it is characterised in that the extraction module is additionally operable to extract the website to be optimized The page content of pages information;
Described device, in addition to:
Search engine optimization module, for being generated in the processing module after the processing after dom scripts, after the processing Dom scripts, the content of pages information and predetermined keyword, obtain search engine optimization information.
8. device according to claim 6, it is characterised in that described device also includes:
Medium adaptation module, for after the acquisition module obtains the optimization request, according at least one media types with And the corresponding style rule of the media types, use CSS media inquiry mode generation medium adaptation code.
9. device according to claim 6, it is characterised in that described device also includes:
File generating module, for after the acquisition module obtains the optimization request, based on webpack, being treated according to described Optimize the reference information of the page of website, generate js files;
Picture processing module, for after the acquisition module obtains the optimization request, to the page of the website to be optimized Picture carry out format transformation, merging or compression processing.
10. device according to claim 6, it is characterised in that described device also includes:
Compression module, for after the acquisition module obtains the optimization request, the code of the website to be optimized to be carried out Gzip static resources compress.
CN201710073420.6A 2017-02-10 2017-02-10 Webpage and website performance optimization method and device Pending CN106980497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710073420.6A CN106980497A (en) 2017-02-10 2017-02-10 Webpage and website performance optimization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710073420.6A CN106980497A (en) 2017-02-10 2017-02-10 Webpage and website performance optimization method and device

Publications (1)

Publication Number Publication Date
CN106980497A true CN106980497A (en) 2017-07-25

Family

ID=59338458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710073420.6A Pending CN106980497A (en) 2017-02-10 2017-02-10 Webpage and website performance optimization method and device

Country Status (1)

Country Link
CN (1) CN106980497A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783764A (en) * 2017-09-29 2018-03-09 厦门集微科技有限公司 Remove the method and device of front end pattern redundancy
CN108446136A (en) * 2018-03-22 2018-08-24 北京焦点新干线信息技术有限公司 A kind of extracting method and system of element code
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN110020385A (en) * 2017-09-29 2019-07-16 甲骨文国际公司 System and method for extracting website characteristic
CN110134843A (en) * 2019-04-03 2019-08-16 浙江口碑网络技术有限公司 A kind of generation method and device of file destination
CN111240684A (en) * 2020-01-03 2020-06-05 北京字节跳动网络技术有限公司 Cutting method and device of JS code, medium and electronic equipment
CN114024849A (en) * 2022-01-05 2022-02-08 广州市成格信息技术有限公司 Intelligent AI operation and maintenance perception method and device
US20220156341A1 (en) * 2017-12-13 2022-05-19 Nativo, Inc. Optimizing third party tag insertion
US11630949B2 (en) 2017-12-13 2023-04-18 Nativo, Inc. Making real-time content selection decisions based on multivariate testing
US11663286B2 (en) 2017-12-13 2023-05-30 Nativo, Inc. Server side web based ad stitching and user specific optimization

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197849A (en) * 2007-12-21 2008-06-11 腾讯科技(深圳)有限公司 Method and device for commuting internet page into wireless application protocol page
US20080152260A1 (en) * 2006-12-15 2008-06-26 International Business Machines Corporation Method and system for optimizing web page images
US7974934B2 (en) * 2008-03-28 2011-07-05 Yahoo! Inc. Method for segmenting webpages by parsing webpages into document object modules (DOMs) and creating weighted graphs
CN104951187A (en) * 2015-06-16 2015-09-30 无锡久源软件科技有限公司 Mobile phone page block displaying method
CN106055575A (en) * 2016-05-19 2016-10-26 天脉聚源(北京)传媒科技有限公司 Method and device for optimized loading of website page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080152260A1 (en) * 2006-12-15 2008-06-26 International Business Machines Corporation Method and system for optimizing web page images
CN101197849A (en) * 2007-12-21 2008-06-11 腾讯科技(深圳)有限公司 Method and device for commuting internet page into wireless application protocol page
US7974934B2 (en) * 2008-03-28 2011-07-05 Yahoo! Inc. Method for segmenting webpages by parsing webpages into document object modules (DOMs) and creating weighted graphs
CN104951187A (en) * 2015-06-16 2015-09-30 无锡久源软件科技有限公司 Mobile phone page block displaying method
CN106055575A (en) * 2016-05-19 2016-10-26 天脉聚源(北京)传媒科技有限公司 Method and device for optimized loading of website page

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020385A (en) * 2017-09-29 2019-07-16 甲骨文国际公司 System and method for extracting website characteristic
CN107783764A (en) * 2017-09-29 2018-03-09 厦门集微科技有限公司 Remove the method and device of front end pattern redundancy
US12073171B2 (en) 2017-09-29 2024-08-27 Oracle International Corporation System and method for extracting website characteristics
CN110020385B (en) * 2017-09-29 2023-09-15 甲骨文国际公司 System and method for extracting website characteristics
US11651046B2 (en) * 2017-12-13 2023-05-16 Nativo, Inc. Optimizing third party tag insertion
US11995397B2 (en) 2017-12-13 2024-05-28 Nativo, Inc. Making real-time content selection decisions based on multivariate testing
US20220156341A1 (en) * 2017-12-13 2022-05-19 Nativo, Inc. Optimizing third party tag insertion
US11663286B2 (en) 2017-12-13 2023-05-30 Nativo, Inc. Server side web based ad stitching and user specific optimization
US11630949B2 (en) 2017-12-13 2023-04-18 Nativo, Inc. Making real-time content selection decisions based on multivariate testing
CN108446136A (en) * 2018-03-22 2018-08-24 北京焦点新干线信息技术有限公司 A kind of extracting method and system of element code
CN109614162A (en) * 2018-11-15 2019-04-12 福建天泉教育科技有限公司 Based on the loaded and optimized method in front end under component development paradigm, storage medium
CN109614162B (en) * 2018-11-15 2023-10-10 福建天泉教育科技有限公司 Front-end loading optimization method based on component development mode and storage medium
CN110134843A (en) * 2019-04-03 2019-08-16 浙江口碑网络技术有限公司 A kind of generation method and device of file destination
CN110134843B (en) * 2019-04-03 2020-07-28 浙江口碑网络技术有限公司 Target file generation method and device
CN111240684B (en) * 2020-01-03 2023-04-11 北京字节跳动网络技术有限公司 Cutting method and device of JS codes, medium and electronic equipment
CN111240684A (en) * 2020-01-03 2020-06-05 北京字节跳动网络技术有限公司 Cutting method and device of JS code, medium and electronic equipment
CN114024849B (en) * 2022-01-05 2022-04-01 广州市成格信息技术有限公司 Intelligent AI operation and maintenance perception method and device
CN114024849A (en) * 2022-01-05 2022-02-08 广州市成格信息技术有限公司 Intelligent AI operation and maintenance perception method and device

Similar Documents

Publication Publication Date Title
CN106980497A (en) Webpage and website performance optimization method and device
EP3588279B1 (en) Automated extraction of rules embedded in software application code using machine learning
CN106371975B (en) A kind of O&M automation method for early warning and system
CN108595583A (en) Dynamic chart class page data crawling method, device, terminal and storage medium
CN105243159A (en) Visual script editor-based distributed web crawler system
CN115511501A (en) Data processing method, computer equipment and readable storage medium
CN105205144B (en) Method and system for data diagnosis optimization
CN105740707A (en) Malicious file identification method and device
CN104598218B (en) For merging and reusing the method and system of gateway information
US20200097717A1 (en) Automated document processing
CN111931809A (en) Data processing method and device, storage medium and electronic equipment
CN107967347A (en) Batch data processing method, server, system and storage medium
CN107506256A (en) A kind of method and apparatus of crash data monitoring
CN107908615A (en) A kind of method and apparatus for obtaining search term corresponding goods classification
CN109145027A (en) Data statistical approach, device, equipment and computer readable storage medium
CN107977678A (en) Method and apparatus for output information
CN112364003A (en) Big data management method, device, equipment and medium for different industries
CN112286815A (en) Interface test script generation method and related equipment thereof
CN107368407A (en) Information processing method and device
CN113392303A (en) Background blasting method, device, equipment and computer readable storage medium
CN109657125A (en) Data processing method, device, equipment and storage medium based on web crawlers
CN109754295A (en) Method and apparatus for output information
CN109558887A (en) A kind of method and apparatus of predictive behavior
CN108256078B (en) Information acquisition method and device
CN117093619A (en) Rule engine processing method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170725