Skip to content

Offline support #546

Open
Open
@sorin-davidoi

Description

@sorin-davidoi

We could leverage the Service Worker API to make the book available offline.

Brief outline:

  • Off by default
  • Add option to make available offline
  • Cache all JavaScript and HTML files in the Service Worker
  • Handle offline state in the UI
  • Handle update logic

The main question is - would this be worth it? If I understand correctly, The Rust Book is bundled with Rust (or packaged in some distributions), so most of the people interested in it you have it locally. But then again, it might be nice to provide this regardless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions