In my mobile app, the landing page itself is dynamic. Basically I want to accomplish just two basic things:
(1) I want to be able to check a cookie to see if the user is logged in or not and display content depending on their state;
(2) I want the user to be able to be able to save the landing page as an icon to their home screen.
I could keep the landing back dynamic by immediately redirecting or changing window.location, etc., with random parameter in the URL. That would prevent caching. But then that page, with that URL would not be a good candidate for bookmarking or saving to the home screen.
And no-cache does not work for the landing page, apparently by design.
Any thoughts of how I can deal with this? Basically I have the case where sometimes a person returns via the home screen icon and they first think they are not logged in when they are, or the opposite.
Thanks,
doug