I am trying to apply html5 offline application in a single html page. Is there any one line link API(like we use Google map link) by Google, Jquery or some other service provider which can easily enable offline cache? I am new to html5 and Javascript please help me out.
Thanks a lot.
in general the html5 offline capabilities are enabled by creating a manifest file that describes what resource in your app should be cached by the browser.
Read this
http://www.webreference.com/authoring/languages/html/HTML5-Application-Caching/
and also general google search for 'html5 manifest'.
I don't know how much benefit a one page application will benefit; your app needs to be able to function offline to gain a benefit. So for example, an email RIA might allow you to compose a message offline, and would store it in local storage until you are online and could send the message. similarly, it might load and store your emails when online so you could review your messages while offline...