To configure client-side storage for your standalone app, use <auraStorage:init> in the auraPreInitBlock attribute of your application’s template. For example:
<aura:component isTemplate="true" extends="aura:template"> <aura:set attribute="auraPreInitBlock"> <auraStorage:init name="actions" persistent="false" secure="true" maxSize="1024" defaultExpiration="900" defaultAutoRefreshInterval="30" /> </aura:set> </aura:component>
For more information, see the Reference Doc App.
Storable actions use the Storage Service. The Storage Service supports multiple implementations of storage and selects an adapter at runtime based on browser support and specified characteristics of persistence and security.