Hi Tobias,

I've just played with the demo app.
Thanks for it!

And I've created a PR with some small improvements:
https://github.com/wicketstuff/core/pull/486
Please let me know if you don't like some part of it and I'll revert it!

Today someone tweeted https://mariusgundersen.net/module-pusher/.
It describes interesting approach how to use HTTP2 and Push(Builder) by
using BloomFilter to tell the server what is in the cache and what is
missing.

Also I think ServiceWorker could be the solution for the "how to remove
?pageId" problem.
Does ServiceWorker intercept all requests to the server? I believe so.
If this is the case then we can store the pageId in the DOM, e.g.
Wicket.pageId=123. Then on SW registration we will read the value (with
postMessage()). And finally on non-Ajax request we can put it in the
request headers.
Do you think this may work ?


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Apr 6, 2016 at 6:38 PM, Tobias Soloschenko <
[email protected]> wrote:

> Hi Martin,
>
> done:
>
> https://github.com/wicketstuff/core/commit/599644448e7c4b80fec48ad68642f4dcb1082a85
>
> Examples: offline-mode-examples
>
> kind regards
>
> Tobias
>
> 2016-04-05 9:24 GMT+02:00 Martin Grigorov <[email protected]>:
>
> > Hi Tobias,
> >
> > On Sun, Apr 3, 2016 at 4:02 PM, Tobias Soloschenko <
> > [email protected]> wrote:
> >
> > > Hi,
> > >
> > > some time ago I asked if someone is able to review:
> > >
> > >
> > >
> >
> https://github.com/klopfdreh/wicket-components-playground/wiki/20.-HTML5-OfflineMode
> > >
> > > I think because iOS Browsers do not support ServiceWorker currently we
> > > should consider to add the functionality to WicketStuff first. Should I
> > > open a PR to WicketStuff these days?
> > >
> >
> > Sure!
> > With a demo would be awesome! :-)
> >
> >
> > >
> > > kind regards
> > >
> > > Tobias
> > >
> >
>

Reply via email to