Hacker News new | ask | show | jobs
by amelius 2762 days ago
> If you want to keep this file available, even though people might not constantly open it, you need to pin it to an IPFS gateway. We can help you with this, just send us the hash of your webpage, and we make sure it stays online. And since you are sending us an email anyway, maybe include some feedback/ideas for the further improvement of Dweb.page

Email? For every update of the website? Sounds to me like the opposite of convenient.

> The best way to solve this is to create a single page application (SPA) and put all the code into one HTML file. This way your webpage loads much faster on the distributed web and you don’t have any issues with links.

A good argument in favor of SPAs.

3 comments

>The best way to solve this is to create a single page application

Another way (arguably more convenient than redesigning the site) is to make a flattened copy of the site's files using a tool such as https://www.httrack.com/ such that all the component files (CSS, JS, etc) end up in the same IPFS directory and hence accessed under the same hash.

The email is just a first solution to test it and also to get some feedback. It’s open source project that just started: https://github.com/PACTCare/Dweb.page
> and you don’t have any issues with links

So if this takes over the world hyperlinking will be dead?