Load included web content from IPFS #7

Closed
opened 2017-12-10 07:19:00 +00:00 by witten · 1 comment
Owner

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.

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/](http://localhost:3000/ipfs/QmdPtC3T7Kcu9iJg6hYzLBWR5XCDcYMY7HV685E3kH3EcS/2015/09/15/hosting-a-website-on-ipfs/) and then take a look at the browser console for errors.
witten added this to the Vaguely useful prototype milestone 2017-12-10 20:08:06 +00:00
Author
Owner

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.

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.
This repo is archived. You cannot comment on issues.
No Label
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: witten/intergalactic#7
No description provided.