blockchainworkbench / workbench-ui

UI of blockchain workbench landing page
0 stars 0 forks source link

Pre-fetching content #15

Closed thibmeu closed 5 years ago

thibmeu commented 5 years ago

The current website displays a lot of loading screens. It could help to pre-fetch content. For instance, the next and previous page in a course.

severus-sn4pe commented 5 years ago

@thibmeu regarding the caching, we could store content in localStorage. or did you have something else in mind?

thibmeu commented 5 years ago

You can simply pre-fetch with window.fetch(url) the content and let browser caching handle it. I think this solution is more adequate considering the content may have to be updated.