W3C home > Mailing lists > Public > www-tag@w3.org > May 2020

Re: Static data for web pages

From: Marcos Caceres <w3c@marcosc.com>
Date: Mon, 11 May 2020 13:31:30 +1000
Cc: TAG List <www-tag@w3.org>
Message-Id: <F83C1556-8872-4784-BB1D-435D270FE3F6@marcosc.com>
To: Melvin Carvalho <melvincarvalho@gmail.com>
Hí Melvin, 

> On 10 May 2020, at 7:27 pm, Melvin Carvalho <melvincarvalho@gmail.com> wrote:
> 
> Let me add the class of storage APIs such as SessionStorage, LocalStorage, Cookies, File System API, WebSQL etc. as mentioned here:
> 
> https://web.dev/storage-for-the-web/
> 
> The static variable idea relates more to something in the page itself (body or head)

The DOM is not dissociated from local storage, so the solution is to use the local storage solutions provided by the browser. Just rehydrate state based on those storage solutions. 
Received on Monday, 11 May 2020 03:31:48 UTC

This archive was generated by hypermail 2.4.0 : Monday, 11 May 2020 03:31:48 UTC