Show browser cache with back button

23 views
Skip to first unread message

Rifat

unread,
Jan 4, 2016, 9:22:51 PM1/4/16
to Sammy.js
Hi

Is there a way to not re-execute a route when back button is pressed, but rather to let the browser display the last state of the page when that page was navigated out?

One of my route executes an ajax query and display the resulting data when navigated to. When a user navigates to a different route and comes back, the ajax query is re-executed. Is there a way to ask the browser to show the previously displayed page instead of the ajax query being re-executed?

Thanks
Reply all
Reply to author
Forward
0 new messages