Page 1 of 1

Better way to transition through pages with dynamic data from Rest

Posted: Sun Nov 24, 2013 12:24 am
by John6122514

Hi,
My app is full of REST service. When I load a new page with rest services it is a little slow because the info is loading. The Rest is linked to a List field, when you click on the list field it takes you to a more detailed page for the service.
I am trying to make it faster when you hit the back button, to return to the list. Is there a way to cache results when they click on the back button. I tried using " Render all pages in one HTML file (jQuery Mobile multi-page template)" which is great all pages load a ton faster, but the rest services do not reload when you pick on a new option.


Better way to transition through pages with dynamic data from Rest

Posted: Sun Nov 24, 2013 1:45 am
by maxkatz

What event do you use to invoke the service? If you switch to "Render all pages in one HTML file (jQuery Mobile multi-page template)" and use load event, you would need to switch to page show event.