You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would require removal of preloadData() (#20). No easy way I can see to await loading of a <script type="application/json"> block later in the document.
At present, data cache is written to HTML doc as
Performance would be better if it were instead:
and then cache read with...
Two reasons why this is advantageous:
JSON.parse()
is faster as browser knows it's JSON, and not having to use full JS parserThe text was updated successfully, but these errors were encountered: