Hi Martin, Safari by default has turned cache on and therefore when clicking browser-back the page is loaded from the browser’s cache. Is there a way to circumvent this issue so that I can measure the time users spent on a current page somehow?
best regards, Chris > Am 11.05.2015 um 08:22 schrieb Martin Grigorov <[email protected]>: > > Wicket pages are not cached by default. > Navigating back in the browser should make a request to the server and > execute the RENDER phase (onConfigure, onBeforeRender, onRender, > onAfterRender, onDetach). > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 11, 2015 at 12:23 AM, Marcel Barbosa Pinto < > [email protected]> wrote: > >> Hmm, it can be a browser cache issue, or the Wicket cache.. Try call the >> setVersioned(false) >> Em 10/05/2015 18:09, "Chris" <[email protected]> escreveu: >> >>> Thanks but the methods such as onBeforeRender seem not be called on >>> browser back. >>> >>> Chris >>> >>> >>>> Am 10.05.2015 um 22:54 schrieb Marcel Barbosa Pinto < >>> [email protected]>: >>>> >>>> You could override the onRender method that is executed every time the >>> page >>>> is rendered on the browser. >>>> Em 10/05/2015 17:43, "Chris" <[email protected]> escreveu: >>>> >>>>> Hi all, >>>>> >>>>> I would like to measure the time the user stays at a certain page. I >>> would >>>>> do this by querying the system’s time when loading the page (in the >> page >>>>> constructor) and the system time when clicking on a link that refers >> the >>>>> user to the next page. >>>>> However, if the user hits the browser back button, the last version of >>> the >>>>> page is displayed without loading the page via its constructor. >>>>> >>>>> What would be the best solution to measure the time spent on a page? >>>>> >>>>> Thanks, Chris >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>>> >>> >>> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
