WEB site access acceleration method and device
By detecting URL requests and determining whether to pass the proxy according to URL proxy rules, using local cache and network proxy server to accelerate website content acquisition, the problem of slow website loading speed is solved, and user experience and data security is improved.
Patent Information
- Application Number
- CN202011174951.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-10-28
AI Technical Summary
The prior art cannot effectively solve the problem of slow website loading speed, especially due to the high number of connection requests for static resource files and non-essential network transmission delays, which affects the user experience.
By detecting URL requests, determine whether to pass the proxy based on the preset URL proxy rules. If the content is in the local resource cache, it will be obtained directly. Otherwise, it will be obtained through the network proxy server and static resources will be cached locally to reduce unnecessary proxy traffic and load .
It significantly improves website access speed, reduces proxy server load, reduces data transmission delay, and enhances user experience and data security.
Smart Images

Figure CN112364274B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a method and device for accelerating WEB site access. Background Art
[0002] When browsing most websites, from the perspective of browser loading resources, in order to fully display a web page, the main document resource needs to be loaded first, and then the browser parses the main document resource request, and then continues to load resource files based on the parsing results. In this process, except for the initial loading of the main document, most of the other parts are resource file loading, which occupies most of the time for website loading.
[0003] According to tests, the complete loading time of current mainstream websites (including operator CDN acceleration) is between 0.3S and 7.3S, and the number of connection requests is as high as 52-228. Among these requests, most are static resource files, resulting in a low access speed of the website.
[0004] At present, the main method to accelerate network access is to use a proxy server to transmit the client's HTTP request to the proxy server through a proxy program, and then the proxy server requests the real data and returns it to the client, thereby achieving the purpose of network acceleration. However, no matter how fast and efficient the network set up by the proxy server is, it cannot solve the problem of unnecessary network transmission, and network delay will eventually occur. If the proxy server is overloaded and causes request blocking, it will seriously affect the user experience of all users connected to this server. Proxy servers generally cannot achieve very fine-grained proxy control, which will cause a lot of traffic that does not actually need to be proxied to be sent to the proxy server, increasing consumption. If it is not HTTPS traffic based on tunnel proxy technology, the rest is basically plain text passing through the proxy server. The proxy server can theoretically detect the request data and response data. Summary of the invention
[0005] The embodiment of the present invention provides a method and device for accelerating WEB site access, so as to solve the defects in the prior art.
[0006] The embodiment of the present invention provides a method for accelerating WEB site access, comprising: if a URL request is detected, judging whether to pass through a proxy according to a preset URL proxy rule; if it needs to pass through a proxy, judging whether the requested content exists in a local resource cache; if it exists, obtaining the requested content from the local resource cache.
[0007] According to a WEB site access acceleration method according to an embodiment of the present invention, if the requested content does not exist in the local resource cache, the requested content is obtained through a network proxy server.
[0008] According to a WEB site access acceleration method according to an embodiment of the present invention, the content of the request is obtained through a network proxy server, including: sending an HTTPS request to a local proxy client, receiving a digital certificate sent by the local proxy client, and verifying the digital certificate sent by the local proxy client according to a list of trusted certificates pre-stored in the operating system; if the verification is successful, encrypting the HTTPS request traffic according to the digital certificate and sending it to the local proxy client; the local proxy client decrypts according to the digital certificate, and based on the obtained HTTPS request content, determines the content that needs to pass through the network proxy server, encrypts the content that needs to pass through the network proxy and sends it to the network proxy server; obtains the request content returned by the network proxy server and decrypts it, and encrypts it using the digital certificate and sends it to the browser client.
[0009] According to an embodiment of the WEB site access acceleration method of the present invention, after obtaining the requested content through the network proxy server, the method further includes: loading the requested content obtained through the network proxy server into the local resource cache.
[0010] According to a WEB site access acceleration method according to an embodiment of the present invention, before loading the requested content obtained through the network proxy server into the local resource cache, it also includes: filtering the requested content through a static resource filter to load static resources that meet the filtering conditions into the local resource cache.
[0011] According to a WEB site access acceleration method of one embodiment of the present invention, if it is determined that there is no need to go through a proxy, the Internet is accessed directly and the loading time of the web page in the URL request is recorded; if the loading time is greater than a preset threshold, the network address in the URL request is marked as a proxy address and added to the preset URL proxy rules.
[0012] According to an embodiment of the WEB site access acceleration method of the present invention, before determining whether the request content exists in the local resource cache, it also includes: verifying the network address in the URL request according to the configuration information sent by the configuration server, and if the verification fails, terminating the access through the proxy.
[0013] An embodiment of the present invention also provides a WEB site access acceleration device, including: a rule filtering module, which is used to determine whether to pass through the proxy according to preset URL proxy rules if a URL request is detected; a cache judgment module, which is used to determine whether the request content exists in the local resource cache if it needs to pass through the proxy; and a data acquisition module, which is used to obtain the requested content from the local resource cache if it exists in the local resource cache.
[0014] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for accelerating WEB site access are implemented.
[0015] An embodiment of the present invention further provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for accelerating WEB site access are implemented.
[0016] The WEB site access acceleration method and device provided by the embodiment of the present invention determines whether to pass through the proxy according to the preset URL proxy rules, and does not need to perform proxy acceleration on all content, thereby avoiding that the traffic that does not need the proxy is sent to the proxy server, thereby increasing the resource consumption of the proxy server. If the requested content exists in the local resource cache, the requested content is obtained from the local resource cache, and there is no need to request the content from the proxy server, thereby further reducing the load overhead of the proxy server, avoiding request blocking, and significantly improving the user experience of proxy access, while reducing the number of times data is obtained from the proxy, and improving data security and privacy. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a flow chart of a method for accelerating WEB site access provided by an embodiment of the present invention;
[0019] Figure 2 It is a flowchart of a method for accelerating WEB site access provided by another embodiment of the present invention;
[0020] Figure 3 It is a flowchart of a method for accelerating WEB site access provided by another embodiment of the present invention;
[0021] Figure 4 It is a structural diagram of a WEB site access acceleration device provided by an embodiment of the present invention;
[0022] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Combine the following Figure 1-Figure 5 A method and device for accelerating WEB site access according to an embodiment of the present invention are described. Figure 1 Schematic diagram of a method for accelerating access to a web site provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a method for accelerating WEB site access, including:
[0025] 101. If a URL request is detected, determine whether to pass through the proxy based on the preset URL proxy rules.
[0026] First, a URL proxy rule filter is set up locally, and the URL proxy rule filter stores preset URL proxy rules. When the browser accesses a URL, it first passes through the URL proxy rule filter to determine whether a proxy is required. If a proxy is required, the relevant proxy operations are performed. URL proxy rules can be set in advance, such as setting that foreign websites or some slow-access websites need to be accessed through a proxy. In addition, the corresponding filtering rules can be configured through the browser's proxy automatic configuration (PAC) technology.
[0027] 102. If a proxy is required, determine whether the requested content exists in the local resource cache.
[0028] The local resource cache is used to store the historical content that the browser requested from the Internet through the proxy. After accessing the web site through the proxy, the corresponding content is cached in the local resource cache. When the URL request in 101 is determined to need to go through the proxy, the local resource cache is first searched to determine whether the requested content has been stored in the local resource cache.
[0029] 103. If it exists, obtain the requested content from the local resource cache.
[0030] If the requested content is already stored in the local resource cache, the requested content is obtained from the local resource cache without having to access it through a proxy.
[0031] The method of the embodiment of the present invention determines whether to pass through the proxy according to the preset URL proxy rules, and does not need to perform proxy acceleration on all content, thereby avoiding sending traffic that does not require a proxy to the proxy server and increasing the resource consumption of the proxy server. If the requested content exists in the local resource cache, the requested content is obtained from the local resource cache without requesting the content from the proxy server, thereby further reducing the load overhead of the proxy server, avoiding request blocking, and significantly improving the user experience of proxy access, while reducing the number of times data is obtained from the proxy, and improving data security and privacy.
[0032] Based on the content of the above embodiment, as an optional embodiment, before detecting the URL request, the method further includes: receiving a proxy or non-proxy URL address input by a user, and generating the URL proxy rule.
[0033] URL proxy rules can be configured according to user needs. Ordinary users or network administrators can set proxy whitelists or proxy blacklists based on the website's location, traffic, etc. The configured URL address is stored in the URL proxy rule for preliminary filtering when the user initiates a URL request.
[0034] Based on the content of the above embodiment, as an optional embodiment, if the requested content does not exist in the local resource cache, the requested content is obtained through the network proxy server. In other words, if the relevant requested content is not found in the local resource, it needs to be obtained through the proxy server.
[0035] Based on the content of the above embodiment, as an optional embodiment, the content of the request obtained through the network proxy server includes: sending an HTTPS request to a local proxy client, receiving a digital certificate sent by the local proxy client, and verifying the digital certificate sent by the local proxy client according to a list of trusted certificates pre-stored in the operating system; if the verification is successful, encrypting the HTTPS request traffic according to the digital certificate and sending it to the local proxy client; the local proxy client decrypts according to the digital certificate, and based on the obtained HTTPS request content, determines the content that needs to pass through the network proxy server, encrypts the content that needs to pass through the network proxy and sends it to the network proxy server; obtains the request content returned by the network proxy server and decrypts it; and encrypts it with the digital certificate and sends it to the browser client.
[0036] Figure 2 FIG. 1 is a flow chart of a method for accelerating access to a web site provided by another embodiment of the present invention. Figure 2As shown. The existing HTTPS protocol transmission is the encrypted communication between the client and the network server. For the network proxy server, it is a tunnel transmission, and it cannot know the data content, and cannot decide which content needs to go through the proxy and which content does not need to go through the proxy. On the one hand, it is not conducive to data control. On the other hand, not all HTTPS content needs to go through the proxy. Some content with low timeliness requirements does not need to go through the proxy.
[0037] In an embodiment of the present invention, by setting a local proxy client, the HTTPS request content of the browser is parsed to determine the content that needs to pass through the network proxy. Different from the network proxy server, the local proxy client can run on the same host as the browser, and can be a functional module on the same electronic device. In an embodiment of the present invention, the HTTPS request traffic initiated by the browser is not directly encrypted and sent to the WEB server through the network proxy server, but is first encrypted and sent to the local proxy client. After the local proxy client decrypts according to the same digital certificate, it determines the HTTPS request content, which ones need to pass through the proxy. After determining the content that needs to pass through the proxy, the local proxy client, as the original client role, performs encrypted and decrypted data transmission with the WEB server, and the transmitted content is the part that needs to pass through the proxy. Accordingly, at this moment, the local proxy client and the WEB server are proxy-transmitted through the network proxy server, and the encryption and decryption process between the local proxy client and the WEB server can be consistent with the encryption and decryption process of the client and the server in the current HTTPS protocol.
[0038] It should be noted that before the browser encrypts the HTTPS request traffic, it needs to verify the above digital certificate, such as obtaining a pre-stored trusted certificate list through the operating system to determine the legitimacy of the digital certificate. After obtaining the requested data, it is encrypted with the digital certificate and sent to the browser client, which uses the same digital certificate for decryption.
[0039] This method can achieve the control of HTTPS request traffic proxy, further avoid unnecessary proxy traffic from being sent to the proxy server, increase the resource consumption of the proxy server, and improve the response speed of the proxy server. At the same time, the judgment is performed on the local proxy client, which can improve data security and privacy.
[0040] Based on the content of the above embodiment, as an optional embodiment, after obtaining the requested content through the network proxy server, the method further includes: loading the requested content obtained through the network proxy server into a local resource cache.
[0041] When it is determined that a proxy is needed to access a URL, the local resource cache is searched first. If the local resource cache does not have it, the requested content is obtained through the network proxy server. After returning the requested content, in order to facilitate subsequent access, the request content returned by the proxy server is loaded into the local resource cache. If the same URL request is detected later and needs to be accessed through a proxy, the same content in the local resource cache is directly loaded, thereby eliminating the need to access it through a proxy server. The method of this embodiment avoids the same content passing through a proxy server by loading the request content into the local resource cache, reduces the load overhead of the proxy server, and improves the response speed of the same content.
[0042] Based on the content of the above embodiment, as an optional embodiment, before loading the requested content obtained through the network proxy server into the local resource cache, it also includes: filtering the requested content through a static resource filter to load static resources that meet the filtering conditions into the local resource cache.
[0043] Considering that the content of the request changes in real time, for example, the request is for real-time data. In the embodiment of the present invention, the request content returned by the proxy server is first filtered. Static resources are cached, while dynamic data is no longer cached because it has lost its timeliness. Static resources can be understood as fixed pages on the front end, which contain HTML, CSS, JS, pictures, etc., which do not require database query or program processing and can be displayed directly.
[0044] Based on the content of the above embodiments, as an optional embodiment, if it is determined that there is no need to go through a proxy, the Internet is accessed directly; the loading time of the web page in the URL request is recorded, and if the loading time exceeds a preset threshold, the network address in the URL request is marked as requiring a proxy and added to the preset URL proxy rules.
[0045] Considering that the pre-configured URL proxy rules cannot fully cover the URLs that need to be proxied, the URL proxy rules are dynamically updated in the embodiment of the present invention. When filtering is performed according to proxy rules in the form of a URL proxy whitelist, and the URL in the URL request is not in the whitelist, the network is accessed through a direct connection. If the peer server responds to the request and returns the request content, the loading time of the request content is recorded. When the loading time is greater than the preset threshold, it means that the access effect through the direct connection is poor, then the network address accessed this time is loaded into the proxy whitelist and marked as requiring a proxy. The next time the user accesses the same URL, the URL proxy rules will determine that the URL is a URL that needs to be proxied. Then, the above-mentioned embodiments of obtaining the request content after searching through local resources and directly accessing and caching the request content through a proxy if it is not found can be combined, which will not be repeated here. Through this method, the dynamic update of URL filtering rules can be achieved to ensure the high efficiency of user access to the URL.
[0046] Based on the content of the above embodiment, as an optional embodiment, before determining whether the requested content exists in the local resource cache, it also includes: verifying the network address in the URL request according to the configuration information sent by the configuration server, and if the verification fails, terminating access through the proxy.
[0047] The configuration server is a server outside the local device. Its role can be regarded as the supervision of URL proxy rules. Since URL proxy rules are usually set by users, there may be some illegal websites and sensitive websites. These websites are configured through the configuration server, such as setting a blacklist for re-verification. If the verification fails, access is not allowed and access through the proxy is terminated.
[0048] Figure 3 FIG. 1 is a flow chart of a method for accelerating access to a web site provided by another embodiment of the present invention. Figure 3 As shown, the various parts of the figure can refer to the above method embodiment. Among them, the local proxy carrier is a specific execution module. After the URL proxy rule determines that proxy access is required, the URL is sent to the local proxy carrier, and the local proxy carrier searches for the request content from the local resource cache and directly accesses it through the proxy. At the same time, it also receives the configuration information of the configuration server. The specific content can be referred to the above embodiment, which will not be repeated here.
[0049] The method of the embodiment of the present invention has the following advantages: Network delay, because the accelerated network resources are all obtained locally, the network transmission delay of most resource files is saved. Stability, because the main body of the acceleration program runs on the client machine, it is not interfered by the network server, and the accelerated traffic is only the traffic of the current client, which does not occupy the actual network bandwidth. Flexibility, the configuration granularity can be refined to each field of the HTTP protocol, and there is no need to consider the performance pressure brought by parsing the HTTP protocol too much, and HTTPS traffic is supported. Security / privacy, because the main body of the program runs on the client, and the acceleration service is also performed on the local machine in principle, there is no risk of the accelerated traffic leaking to a third-party server. Scalability, the embodiment of the present invention can not only be used to accelerate resource access, but also can or occupy the following use scenarios: removing web page advertisements, the principle is similar to AdBlock; Web content security management and control in special intranet scenarios; decentralized Internet construction combined with P2P technology.
[0050] The following is a description of a WEB site access acceleration device provided by an embodiment of the present invention. The WEB site access acceleration device described below and the WEB site access acceleration method described above can be referenced to each other.
[0051] Figure 4 is a schematic diagram of the structure of a WEB site access acceleration device provided by an embodiment of the present invention, such as Figure 4 As shown, the WEB site access acceleration device includes: a rule filtering module 401, a cache judgment module 402 and a data acquisition module 403. Among them, the rule filtering module 401 is used to determine whether to pass through the proxy according to the preset URL proxy rules if a URL request is detected; the cache judgment module 402 is used to determine whether the request content exists in the local resource cache if it needs to pass through the proxy; the data acquisition module 403 is used to obtain the requested content from the local resource cache if it exists in the local resource cache.
[0052] The device embodiments provided in the embodiments of the present invention are for implementing the above-mentioned method embodiments. For specific processes and detailed contents, please refer to the above-mentioned method embodiments, which will not be repeated here.
[0053] The WEB site access acceleration device provided by the embodiment of the present invention determines whether to pass through the proxy according to the preset URL proxy rules, and does not need to perform proxy acceleration on all content, thereby avoiding that traffic that does not need a proxy is sent to the proxy server, thereby increasing the resource consumption of the proxy server. If the requested content exists in the local resource cache, the requested content is obtained from the local resource cache, and there is no need to request the content from the proxy server, thereby further reducing the load overhead of the proxy server, avoiding request blocking, and significantly improving the user experience of proxy access, while reducing the number of times data is obtained from the proxy, and improving data security and privacy.
[0054] Figure 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 5 As shown, the electronic device may include: a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 communicate with each other through the communication bus 504. The processor 501 may call the logic instructions in the memory 503 to execute the WEB site access acceleration method, which includes: if a URL request is detected, judging whether to pass through the proxy according to the preset URL proxy rules; if it needs to pass through the proxy, judging whether the request content exists in the local resource cache; if it exists, obtaining the requested content from the local resource cache.
[0055] In addition, the logic instructions in the above-mentioned memory 503 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0056] On the other hand, an embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the WEB site access acceleration method provided by the above-mentioned method embodiments, and the method includes: if a URL request is detected, according to a preset URL proxy rule, determining whether to pass through the proxy; if it needs to pass through the proxy, determining whether the requested content exists in the local resource cache; if it exists, obtaining the requested content from the local resource cache.
[0057] On the other hand, an embodiment of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for accelerating WEB site access provided by the above embodiments is implemented, and the method includes: if a URL request is detected, judging whether to pass through the proxy according to preset URL proxy rules; if it needs to pass through the proxy, judging whether the requested content exists in the local resource cache; if so, obtaining the requested content from the local resource cache.
[0058] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0059] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for accelerating access to a web site, characterized in that: include: If a URL request is detected, it is determined whether to pass through the proxy based on the preset URL proxy rules; If a proxy is required, determine whether the requested content exists in the local resource cache; If it exists, the requested content is obtained from the local resource cache; If the requested content does not exist in the local resource cache, the requested content is obtained through the network proxy server; The obtaining of the requested content through the network proxy server includes: Sending an HTTPS request to a local proxy client, receiving a digital certificate sent by the local proxy client, and verifying the digital certificate sent by the local proxy client according to a trusted certificate list pre-stored in the operating system; If the verification is successful, the HTTPS request traffic is encrypted according to the digital certificate and sent to the local proxy client; The local proxy client decrypts the digital certificate and determines the content that needs to be sent through the network proxy server based on the obtained HTTPS request content, encrypts the content that needs to be sent through the network proxy server, and sends it to the network proxy server; The local proxy client obtains the request content returned by the network proxy server and decrypts it, encrypts it with the digital certificate and sends it to the browser client; If it is determined that there is no need to go through a proxy, the Internet is accessed directly and the loading time of the web page in the URL request is recorded; If the loading time is longer than a preset threshold, the network address in the URL request is marked as a proxy address and added to the preset URL proxy rule.
2. The WEB site access acceleration method according to claim 1, characterized in that: After obtaining the requested content through the network proxy server, the method further includes: Load the requested content obtained through the network proxy server into the local resource cache.
3. The WEB site access acceleration method according to claim 2, characterized in that: Before loading the content requested by the network proxy server into the local resource cache, the method further includes: The requested content is filtered through the static resource filter to load the static resources that meet the filtering conditions into the local resource cache.
4. The WEB site access acceleration method according to claim 1, characterized in that: Before determining whether the requested content exists in the local resource cache, it also includes: According to the configuration information sent by the configuration server, the network address in the URL request is verified. If the verification fails, access through the proxy is terminated.
5. A WEB site access acceleration device, characterized in that: include: The rule filtering module is used to determine whether to pass the proxy according to the preset URL proxy rules if a URL request is detected; The cache judgment module is used to judge whether the request content exists in the local resource cache if it needs to go through a proxy; A data acquisition module is used to obtain the requested content from the local resource cache if it exists in the local resource cache; If the requested content does not exist in the local resource cache, the requested content is obtained through the network proxy server; The obtaining of the requested content through the network proxy server includes: Sending an HTTPS request to a local proxy client, receiving a digital certificate sent by the local proxy client, and verifying the digital certificate sent by the local proxy client according to a trusted certificate list pre-stored in the operating system; If the verification is successful, the HTTPS request traffic is encrypted according to the digital certificate and sent to the local proxy client; The local proxy client decrypts the digital certificate and determines the content that needs to be sent through the network proxy server based on the obtained HTTPS request content, encrypts the content that needs to be sent through the network proxy server, and sends it to the network proxy server; The local proxy client obtains the request content returned by the network proxy server and decrypts it, encrypts it with the digital certificate and sends it to the browser client; If it is determined that there is no need to go through a proxy, the Internet is accessed directly and the loading time of the web page in the URL request is recorded; If the loading time is longer than a preset threshold, the network address in the URL request is marked as a proxy address and added to the preset URL proxy rule.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the WEB site access acceleration method as described in any one of claims 1 to 4 are implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the WEB site access acceleration method as described in any one of claims 1 to 4 are implemented.
