Load included web content from IPFS #7
Labels
No Label
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: witten/intergalactic#7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a user, I want an IPFS HTML web page that includes other content hosted on IPFS to load and work in its entirety, so that I can use full web pages as they were intended with all of their functionality.
As a dev, I want to host all the parts of my HTML web page on IPFS and have them function in the JavaScript gateway, so that I can get all the benefits of a distributed web site including all embedded resources.
As an example of an existing IPFS web page whose embedded
<script>
tags don't load properly, see http://localhost:3000/ipfs/QmdPtC3T7Kcu9iJg6hYzLBWR5XCDcYMY7HV685E3kH3EcS/2015/09/15/hosting-a-website-on-ipfs/ and then take a look at the browser console for errors.Fixed by using a service worker to load content from IPFS. That allows the service worker to intercept all calls to IPFS content, and actually load them from IPFS.