Skip to content

Offline access#892

Merged
outoftime merged 3 commits intopopcodeorg:masterfrom
outoftime:offline
Jul 9, 2017
Merged

Offline access#892
outoftime merged 3 commits intopopcodeorg:masterfrom
outoftime:offline

Conversation

@outoftime
Copy link
Copy Markdown
Contributor

Builds on #860, installing the Webpack offline-plugin to allow offline access to Popcode.

Pretty simple integration. One thing I don’t love is listing out all the fonts/images directly, but other than parsing the CSS I don’t have a great idea for how to keep that deduplicated.

Closes #860
Fixes #315

@outoftime
Copy link
Copy Markdown
Contributor Author

outoftime commented Jul 3, 2017

@quixotically hey, this is working now! the major hurdle was actually that we were serving compiled assets (including everything built by Webpack) from the /compiled path, which prevented the service worker (at /compiled/sw.js) from being able to cache stuff that wasn’t under /compiled. I rearranged things so that compiled assets are served from the root path and now everything looks great.

let me know what you think!

@outoftime outoftime requested a review from quixotically July 3, 2017 22:37
@outoftime outoftime merged commit f05d5c5 into popcodeorg:master Jul 9, 2017
@outoftime outoftime deleted the offline branch July 9, 2017 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants