CN110209980A - The offline methods availalbe of webapp and electronic equipment based on teaching platform - Google Patents

The offline methods availalbe of webapp and electronic equipment based on teaching platform Download PDF

Info

Publication number
CN110209980A
CN110209980A CN201910335088.5A CN201910335088A CN110209980A CN 110209980 A CN110209980 A CN 110209980A CN 201910335088 A CN201910335088 A CN 201910335088A CN 110209980 A CN110209980 A CN 110209980A
Authority
CN
China
Prior art keywords
resource
cache
webapp
request
xhr
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
CN201910335088.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.)
Shenzhen Dianmao Technology Co Ltd
Original Assignee
Shenzhen Dianmao 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 Shenzhen Dianmao Technology Co Ltd filed Critical Shenzhen Dianmao Technology Co Ltd
Priority to CN201910335088.5A priority Critical patent/CN110209980A/en
Publication of CN110209980A publication Critical patent/CN110209980A/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

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 Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a kind of offline methods availalbe of the webapp based on teaching platform and electronic equipment, and method is comprising steps of the caching resource for calling the global object cache of browser by the caching resource in customized cache list, and xhr being requested;When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;Judge directly to return to resource from the cache if having with the presence or absence of requested resource in the cache, if without resource is requested from server.Webapp is accessed in the state of offline by the invention it is possible to realize, and its partial function can be used, greatly improves user experience;Caching part resource is realized simultaneously, can be improved response speed directly using caching when user accesses, be saved bandwidth.

Description

The offline methods availalbe of webapp and electronic equipment based on teaching platform
Technical field
The present invention relates to field of computer technology more particularly to a kind of offline methods availalbes of webapp based on teaching platform And electronic equipment.
Background technique
Webapp refers to system and application based on Web, and effect is a complex set of to vast end user's publication Content and function.From a simple webpage for helping consumer to calculate car lease expense, arriving is commercial staff and holiday maker The large complicated web site of a full set of tourist service is provided, is all webapp.It includes some complete web sites, the station web The dedicated functions of point and the information processing application on Internet, Intranet or ExtraNet.Webapp frame is one Kind web application frame simply compatible with WSGI, can be used cooperatively with App Engine.It is unnecessary to use App Engine and use webapp: network server supports any Python application program using CGI.
But in the prior art, exhausted most resource on webapp all relies on server, in no net or the ring of weak net It just will appear the connectionless displayed page of network in border, the environment of access is very restricted;For a user, without netted No any response is applied under state, user experience is bad.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide it is a kind of based on the webapp of teaching platform from Line methods availalbe and electronic equipment, it is intended to solve webapp in the prior art and access asking without response under the conditions of no net or weak net Topic.
Technical scheme is as follows:
A kind of offline methods availalbe of webapp based on teaching platform, wherein comprising steps of
The global object cache of browser is called to request by the caching resource in customized cache list, and by xhr Caching resource;
When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;
Judge directly to return to resource from the cache if having with the presence or absence of requested resource in the cache, Resource is requested from server if nothing.
The offline methods availalbe of webapp based on teaching platform, wherein the global object for calling browser Cache by the caching resource in customized cache list, and by xhr request resource the step of before include:
Service worker is registered in item entry file in advance;
Whether judge on the navigator object of browser comprising swr attribute;
Call the sw example of the register method registration definition of service worker;
The customized cache list for needing cache resources in sw example.
The offline methods availalbe of webapp based on teaching platform, wherein the caching resource by xhr request Step specifically includes:
The pre-defined xhr request for needing to cache;
The fetch event for monitoring sw judges whether current xhr request needs to cache after the triggering of fetch event.
The offline methods availalbe of webapp based on teaching platform, wherein the fetch event for monitoring sw, when After the triggering of fetch event, judge that current xhr requests to include: after whether needing the step of caching
When needing to cache, request results are replicated into portion after xhr request returns, are cached in the cache.
The offline methods availalbe of webapp based on teaching platform, wherein described to work as access webapp and initiate to provide When source is requested, specifically included according to described the step of requesting the resource inquired in the cache:
When accessing webapp and initiating resource request, pass through sw proxy requests;
The resource in the cache is inquired according to the request.
The offline methods availalbe of webapp based on teaching platform, wherein in the customized cache list Resource is static resource.
The offline methods availalbe of webapp based on teaching platform, wherein the resource of the xhr request is that dynamic provides Source.
A kind of electronic equipment, wherein include:
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
The global object cache of browser is called to request by the caching resource in customized cache list, and by xhr Caching resource;
When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;
Judge directly to return to resource from the cache if having with the presence or absence of requested resource in the cache, Resource is requested from server if nothing.
A kind of non-volatile computer readable storage medium storing program for executing, wherein the non-volatile computer readable storage medium storing program for executing is deposited Computer executable instructions are contained, when which is executed by one or more processors, may make described one A or multiple processors execute the offline methods availalbe of the webapp based on teaching platform.
A kind of computer program product, wherein non-volatile computer is readable to be deposited computer program product including being stored in Computer program on storage media, computer program include program instruction, when program instruction is executed by processor, make the place It manages device and executes the offline methods availalbe of the webapp based on teaching platform.
The utility model has the advantages that accessing webapp in the state of offline by the invention it is possible to realize, and its portion can be used Divide function, greatly improves user experience;Caching part resource is realized simultaneously, can be mentioned directly using caching when user accesses High response speed, saves bandwidth.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the offline methods availalbe preferred embodiment of webapp based on teaching platform of the present invention.
Fig. 2 is the structural block diagram of a kind of electronic equipment preferred embodiment of the present invention.
Specific embodiment
The present invention provides a kind of offline methods availalbe of the webapp based on teaching platform and electronic equipment, of the invention to make Purpose, technical solution and effect are clearer, clear, and the present invention is described in more detail below.It should be appreciated that this place is retouched The specific embodiment stated is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of offline methods availalbe preferred embodiment of webapp based on teaching platform of the present invention Flow chart, as shown, itself comprising steps of
S1, call the global object cache of browser by the caching resource in customized cache list, and by xhr The caching resource of request;
S2, when accessing webapp and when initiating resource request, the resource in the cache is inquired according to the request;
S3, judge to return to money directly from the cache if having with the presence or absence of requested resource in the cache Resource is requested if nothing in source from server.
By the invention it is possible to which webapp is enable to access in the case where no net or weak net, and use its partial function. Website quickly is accessed using caching in the case where weak net, also saves bandwidth using caching under normal circumstances.
In the step S1, the global object cache of browser is called to delay the resource in customized cache list The caching resource deposited, and xhr is requested.
That is, first passing through global object cache to cache customized cache list, while also caching xhr request Resource.It is subsequent so also to access webapp in the case where no net or weak net.
Xhr request refers to that XMLHttpRequest is requested.
Further, the resource in the customized cache list is static resource.
Further, the resource of the xhr request is dynamic resource.
That is, not only having cached the static resource partially needed in webapp in the present invention, xhr request has equally also been cached Dynamic resource.
Static resource refers to the static resources such as similar js, css, picture.Dynamic resource then refers to the dynamic of client request Request is first met at web container by resource, and web container connects database, after database processing data, by the content service of giving Device, server return to client parsing rendering processing.
Further, it is described call browser global object cache by the caching resource in customized cache list, and And include: before by the step of resource of xhr request
Service worker is registered in item entry file in advance;
Whether judge on the navigator object of browser comprising swr attribute;
Call the sw example of the register method registration definition of service worker;
The customized cache list for needing cache resources in sw example.
Wherein, service worker serves as the proxy server between webapp and browser, can also can in network Used time is as browser and internetwork agency.Service worker makes it possible to create effective offline experience, intercept net Network request and whether resource that is whether available based on network and updating resides on server and take movement appropriate, also Allow to access sending out notice and background synchronization API.Service worker is substantially exactly a JavaScript thread, operation In the context different from main Javascript thread.Service worker thread is designed to complete asynchronous, some scripts Synchronization API in main thread, if XMLHTTPRequest and localStorage is cannot to make in service worker ?.
Navigator object include the information in relation to browser, so can be judged whether by navigator object include Swr attribute.
Specifically, the activation of service worker need to pass through following steps:
1, browser detects that current page registration service worker (passes through navigator.service.Work er.register('/sw.js'));
2, browser is downloaded sw.js and is executed, and completes erection stage;
3, service worker waits other worker failure in Origin, then completes the activation stage;
4, service worker comes into force, the range that comes into force not instead of current page, entire Origin.
That is service worker has just cached three resource files during installation, if having the page under Origin next time These three resources are initiated to request, then then can directly be returned with caching by fetch event interception.If sent out other resources Request is played, then will use Internet resources in response, and these resources are stored again.
It is customized need the cache list of cache resources after, monitor sw example install event, install installation After success, the open method of the global object cache of browser can be called the caching resource in customized cache list Get up.
Further, the step of caching resource that xhr is requested specifically includes:
The pre-defined xhr request for needing to cache;
The fetch event for monitoring sw judges whether current xhr request needs to cache after the triggering of fetch event.
Sw thread can be used to and server communication data (the built-in fetch of the context of service worker and Push API), it can intercept all requests, and (by monitoring fetch event, the request of any pair of Internet resources can all trigger this Event), and built-in completely asynchronous storage system (Caches attribute, a net completely asynchronous and that all categories can be stored Network resource).
In the present invention, in addition to static resource, it is also necessary to cache the dynamic resource of xhr request, the method for caching is definition Fetch event is monitored in the xhr request for needing to cache, and after each fetch event triggering, judges whether current xhr request needs Caching.
Further, whether the fetch event for monitoring sw judges current xhr request after the triggering of fetch event Include: after needing the step of caching
When needing to cache, request results are replicated into portion after xhr request returns, are cached in the cache.
Because needing to cache the xhr request of dynamic resource having been defined before, if it is decided that a certain xhr request needs When caching, then request results is replicated into portion after xhr request returns, be cached in cache object.
In the step S2, when accessing webapp and initiating resource request, the cache is inquired according to the request In resource.
Since static resource and dynamic resource have been cached in cache before, so, it, can when this initiates resource request It whether buffered in cache inquires requested resource, if having cached, corresponding resource can be obtained.
Further, described when accessing webapp and initiating resource request, it is inquired in the cache according to the request The step of resource, specifically includes:
When accessing webapp and initiating resource request, pass through sw proxy requests;
The resource in the cache is inquired according to the request.
Specifically, it when accessing webapp, and initiating resource request, is requested by service worker proxy-explorer (request i.e. above-mentioned) then inquires the resource in cache.
In the step S3, judge with the presence or absence of requested resource in the cache, directly from described if having Resource is returned in cache, and resource is requested from server if nothing.
In above-mentioned steps, if there are requested resources by cache, only resource need to be taken out simultaneously from the cache Return can thus be accomplished in the case where no net or weak net without request server, access webapp and realize Resource request.If requested resource is not present in cache, corresponding resource can only be requested from server, such as request Static resource or dynamic resource etc..
The caching rule of browser is defined in the Meta label of http header and html page.It specifically can be from new Whether two dimensions of freshness and check value carry out regulation browser can be directly using the resource in caching, it is desired nonetheless to from server Middle acquisition resource.
Wherein, freshness (expiration mechanism): namely cached copies validity period.One cached copies must satisfy following item Part, browser will be considered that it is effective: 1. containing complete expired time control head information (http protocol header), and still Before the deadline;2. browser had used this cached copies, and crossed freshness on inspection in a session.It is full One kind of sufficient two above situation, browser can obtain copy and be rendered directly from caching.
Wherein, check value (authentication mechanism): when server returns to resource on control head information band this resource Entity tag Etag (Entity Tag), it can be used as the checking mark of browser request process again.If verification Mark mismatches, and illustrates that resource modify or expired, browser demand reacquisition resource content.
The control of browser rs cache: (1) HTML Meta label is used
<meta>label can be added in<head>node of html page, code is as follows:
<meta http-equiv=" Pragma " content=" no-cache ">
The effect of above-mentioned code is that browser current page is told not to be buffered, and each access requires server and draws It takes.
(2) using the related HTTP message header of caching
In addition, if resource updates, if continuing to use the resource of caching, will lead to it is specifically used to resource be not update , it can be realized at this time according to the following two kinds method:
1, sw.js file is updated, once browser detects that the sw.js installed and used is different (by calculating hash Value), control browser reinstalls service worker, in this way installing the caching before emptying during activation, from And use newest resource on server.
2, Version Control is carried out to resource file (i.e. resource), such as replaces style-1.css with style-2.css, Service worker so just will use new resource and cache it.Certainly be also not necessarily limited to come using only simple version number into Row control, it is preferred to use the content of resource+modification time+size hash value is as version number.
With the increase for using the time, the resource cached in cache can be more and more, this will lead to overall operation speed and Efficiency reduces.So needing effectively to manage the resource cached in cache, just it is able to maintain user experience and is maintained at most Good state.
Preferably, the resource cached in cache is handled according to storage duration, specifically presets a duration threshold Value issues prompt when the storage duration of the resource cached is more than the duration threshold value, i.e. prompt user's resource has stored Duration is longer, and is handled, such as delete, save or be delayed etc..Delay operation is carried out when receiving user When instruction, then by corresponding resource can cache-time extend scheduled duration, such as extend 1 month, then in scheduled duration knot Shu Hou reresents user and handles, and user can be reminded in time to handle the resource in caching in this way.
It is furthermore preferred that the duration threshold value is provided with multiple, and corresponding different size of resource, such as preset 5 Duration threshold value, and this 5 duration threshold values set gradually from small to large (such as be respectively 1 period, 2 periods, 3 periods, 4 periods, 5 periods, period therein can be 1 day, 2 days, 3 days, 1 week or 1 month etc.), while in advance will Resource is divided into 5 grades according to size, from big to small successively are as follows: A grades, B grades, C grades, D grades and E grades, that is to say, that A grades of resource Maximum, E grades of resource is minimum, such as A grades of resource is the resource greater than 1000 unit-sizeds, and B grades of resource is 100~1000 The resource of unit-sized, C grades of resource are the resource of 10~100 unit-sizeds, and D grades of resource is the money of 1~10 unit-sized Source, E grades of resource are the resource of the following size of 1 unit, and unit therein can be kb, mb or gb etc..Resource in this way Rank can be corresponded with duration threshold value, such as its duration threshold value may be configured as 1 period, B grades of money for A grades of resource Its duration threshold value of source may be configured as 2 periods, its duration threshold value of C grades of resource may be configured as 3 periods, and D grades of resource is at that time Long threshold value may be configured as 4 periods, its duration threshold value of E grades of resource may be configured as 5 periods.That is, resource is bigger, that Its duration threshold value is smaller, and resource is smaller, then its duration threshold value is bigger, may insure so biggish resource can quickly by Processing, and lesser resource can cache the long period, so that the size of the resource entirely cached be made to be maintained at one suitably In range.
It is furthermore preferred that also recording to the access times of resource, specifically record resource is corresponding using secondary Number, when resource is when corresponding access times are more than pre-determined number, by its duration threshold value one grade of liter, such as a certain resource Size be B grade, then its duration threshold value is 2 periods, when it is when B grades of access times are more than pre-determined number, then by it Duration threshold value rises 1 grade, i.e., sets 3 periods for its duration threshold value, so that the resource be made to be actually the duration for using C grades Threshold value, when it is when using C grades of duration threshold value, if access times more than pre-determined number, continue to upgrade duration threshold value, until Upgrade to longest duration threshold value.The resource being commonly used can be enable to be buffered the longer time in this way, avoid accidentally being removed And so on.
Through the invention, webapp is accessible in the state of making offline, and the function of part can be used, and mentions significantly User experience is risen.Part resource can be cached simultaneously, can be improved response speed directly using caching when user accesses, be saved Bandwidth is saved.
The present invention also provides a kind of electronic equipment 10, as shown in Fig. 2, comprising:
Processor 110 is adapted for carrying out each instruction, and
Equipment 120 is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor 110:
The global object cache of browser is called to request by the caching resource in customized cache list, and by xhr Caching resource;
When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;
Judge directly to return to resource from the cache if having with the presence or absence of requested resource in the cache, Resource is requested from server if nothing.
The processor 110 can for general processor, digital signal processor (DSP), specific integrated circuit (ASIC), Field programmable gate array (FPGA), single-chip microcontroller, ARM (Acorn RISC Machine) or other programmable logic device are divided Any combination of vertical door or transistor logic, discrete hardware component or these components.In addition, processor can also be any Conventional processors, microprocessor or state machine.Processor also may be implemented as calculating the combination of equipment, for example, DSP and Wei Chu Manage combination, multi-microprocessor, one or more microprocessors combination DSP core, any other this configuration of device.
It stores equipment 120 and is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software Program, non-volatile computer executable program and module, such as the webapp based on teaching platform in the embodiment of the present invention The corresponding program instruction of offline methods availalbe.Processor by operation be stored in storage equipment in non-volatile software program, Instruction and unit, at the various function application and data thereby executing the offline methods availalbe of webapp based on teaching platform Reason, i.e. realization above method embodiment.
It has been described in detail in the method for particular technique details in front about above-mentioned electronic equipment 10, so it will not be repeated.
The present invention also provides a kind of non-volatile computer readable storage medium storing program for executing, the non-volatile computer readable storage Media storage has computer executable instructions, when which is executed by one or more processors, may make One or more of processors execute the offline methods availalbe of the webapp based on teaching platform.
The present invention also provides a kind of computer program product, computer program product includes being stored in non-volatile computer Computer program on readable storage medium storing program for executing, computer program include program instruction, when program instruction is executed by processor, are made The processor executes the offline methods availalbe of the webapp based on teaching platform.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (10)

1. a kind of offline methods availalbe of webapp based on teaching platform, which is characterized in that comprising steps of
The money called the global object cache of browser by the caching resource in customized cache list, and xhr is requested Source cache;
When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;
Judge directly resource to be returned to from the cache if having, if nothing with the presence or absence of requested resource in the cache Resource is then requested from server.
2. the offline methods availalbe of the webapp according to claim 1 based on teaching platform, which is characterized in that the calling The global object cache of browser is by the caching resource in customized cache list, and the step of by the resource of xhr request Include: before
Service worker is registered in item entry file in advance;
Whether judge on the navigator object of browser comprising swr attribute;
Call the sw example of the register method registration definition of service worker;
The customized cache list for needing cache resources in sw example.
3. the offline methods availalbe of the webapp according to claim 1 based on teaching platform, which is characterized in that described to incite somebody to action The step of caching resource of xhr request, specifically includes:
The pre-defined xhr request for needing to cache;
The fetch event for monitoring sw judges whether current xhr request needs to cache after the triggering of fetch event.
4. the offline methods availalbe of the webapp according to claim 3 based on teaching platform, which is characterized in that the monitoring The fetch event of sw judges that current xhr requests to include: after whether needing the step of caching after the triggering of fetch event
When needing to cache, request results are replicated into portion after xhr request returns, are cached in the cache.
5. the offline methods availalbe of the webapp according to claim 1 based on teaching platform, which is characterized in that described when visit When asking webapp and initiating resource request, specifically included according to described the step of requesting the resource inquired in the cache:
When accessing webapp and initiating resource request, pass through sw proxy requests;
The resource in the cache is inquired according to the request.
6. the offline methods availalbe of the webapp according to claim 1 based on teaching platform, which is characterized in that described to make by oneself Resource in the cache list of justice is static resource.
7. the offline methods availalbe of the webapp according to claim 1 based on teaching platform, which is characterized in that the xhr The resource of request is dynamic resource.
8. a kind of electronic equipment characterized by comprising
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
The money called the global object cache of browser by the caching resource in customized cache list, and xhr is requested Source cache;
When accessing webapp and initiating resource request, the resource in the cache is inquired according to the request;
Judge directly resource to be returned to from the cache if having, if nothing with the presence or absence of requested resource in the cache Resource is then requested from server.
9. a kind of non-volatile computer readable storage medium storing program for executing, which is characterized in that the non-volatile computer readable storage medium Matter is stored with computer executable instructions, when which is executed by one or more processors, may make institute Stating one or more processors perform claim requires the described in any item webapp based on teaching platform of 1-7 that side can be used offline Method.
10. a kind of computer program product, which is characterized in that computer program product can including being stored in non-volatile computer The computer program on storage medium is read, computer program includes program instruction, when program instruction is executed by processor, makes institute It states processor perform claim and requires the offline methods availalbe of the described in any item webapp based on teaching platform of 1-7.
CN201910335088.5A 2019-04-24 2019-04-24 The offline methods availalbe of webapp and electronic equipment based on teaching platform Pending CN110209980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910335088.5A CN110209980A (en) 2019-04-24 2019-04-24 The offline methods availalbe of webapp and electronic equipment based on teaching platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910335088.5A CN110209980A (en) 2019-04-24 2019-04-24 The offline methods availalbe of webapp and electronic equipment based on teaching platform

Publications (1)

Publication Number Publication Date
CN110209980A true CN110209980A (en) 2019-09-06

Family

ID=67786270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910335088.5A Pending CN110209980A (en) 2019-04-24 2019-04-24 The offline methods availalbe of webapp and electronic equipment based on teaching platform

Country Status (1)

Country Link
CN (1) CN110209980A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186594A (en) * 2011-12-29 2013-07-03 盛乐信息技术(上海)有限公司 WebAPP dynamic offline memory system and method
WO2016016734A1 (en) * 2014-07-30 2016-02-04 Yandex Europe Ag Managing web browser cache for offline browsing
CN108287737A (en) * 2017-07-13 2018-07-17 广州市动景计算机科技有限公司 Service Worker start method, apparatus and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186594A (en) * 2011-12-29 2013-07-03 盛乐信息技术(上海)有限公司 WebAPP dynamic offline memory system and method
WO2016016734A1 (en) * 2014-07-30 2016-02-04 Yandex Europe Ag Managing web browser cache for offline browsing
CN108287737A (en) * 2017-07-13 2018-07-17 广州市动景计算机科技有限公司 Service Worker start method, apparatus and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALIENZHOU: "【PWA学习与实践】(3) 让你的WebApp离线可用", 《SEGMENTFAULT思否:HTTPS://SEGMENTFAULT.COM/A/1190000016901269》 *
李明禄 等: "《英汉云计算 物联网 大数据辞典》", 31 October 2018 *

Similar Documents

Publication Publication Date Title
AU2007313956B2 (en) Offline execution of Web based applications
US10296653B2 (en) Systems and methods for accelerating web page loading
US6233606B1 (en) Automatic cache synchronization
Wang et al. How far can client-only solutions go for mobile browser speed?
US9288256B2 (en) URL prefetching
US6757708B1 (en) Caching dynamic content
US7778987B2 (en) Locally storing web-based database data
US20020194382A1 (en) Method and system for efficient and automated version management of embedded objects in web documents
EP1267278A1 (en) Streaming of real-time data to a browser
CN103152367A (en) Cache dynamic maintenance updating method and system
CN105930538A (en) Webpage accessing request processing method and server
US20070288591A1 (en) Method, system, and program product for caching application data in a browser cache
CN102681996B (en) Pre-head method and device
CN113742551A (en) Dynamic data capture method based on script and puppeteer
CN108259198B (en) Method, device and equipment for prejudging domain name cache hit rate
CN108664554A (en) The method and device of webpage view is loaded in a kind of application program
CN110209980A (en) The offline methods availalbe of webapp and electronic equipment based on teaching platform
CN109857966A (en) A kind of optimization method and browser of browser dynamically load web page resources
CN110830537B (en) Page processing method and device
US11275812B2 (en) Realtime feedback-based web resource management and optimization system
US20140237133A1 (en) Page download control method, system and program for ie core browser
US9172739B2 (en) Anticipating domains used to load a web page
CN103838839B (en) A kind of the page-downloading control method and system of IE kernel browser
US12132781B2 (en) Ensuring coherency across responses when handling a series of client requests
US20240214449A1 (en) Ensuring Coherency Across Responses When Handling A Series Of Client Requests

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: 20190906