This example has been deprecated and will no longer be supported. Please note that the SWF functionality of the Storage Utility requires that you host swfstore.swf on your own servers. YUI 2 is now in maintenance mode, so no future updates are planned and only critical fixes will be considered. For more information, please refer to the following blog posts:
This example demonstrates a rudimentary use case for the Storage Utility. When you enter text in the text field below, your content will be locally saved on every fifth
keypress. If your browser supports one of the Storage Utility's storage mechanisms (Gears, SWF, and HTML5 are tried, in that order), your last-saved content will persist when you reload the page.
Watch the logger on the right side of the page as you type for feedback about what the example is doing.