Hi,

On Tue, Apr 26, 2016 at 5:47 AM, Tobias Soloschenko <
[email protected]> wrote:

> Hi Martin,
>
> thanks for the changes!
>
> Cool tweet - I am going to have a look at it.
>
> The idea of using the ServiceWorker to store the page is good but keep in
> mind that Safari do not support it currently and because of this browser
> back will not work on it if switching to that technology.
>

I keep forgetting about "back button support". This time I kept in mind the
multiwindow support but again I forgot the back button.
It should still be possible with HTML5 History API (push/popState).


>
> I think we should wait until it is available on all most used browsers and
> then switch to it.
>
> http://caniuse.com/#feat=serviceworkers


I know it is not supported for Safari and IE.


>
>
> kind regards
>
> Tobias
>
> > Am 25.04.2016 um 22:39 schrieb Martin Grigorov <[email protected]>:
> >
> > 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