Homebrew/brew.sh

[FEATURE REQUEST] Making website work offline using service workers

thenamankumar opened this issue · 4 comments

I want to work on making website work even offline, using service workers. Showing offline indication on pages and implementing caching patterns based on assets.

Should I work on this?

I'm not sure I see the value. What's the use-case you see for this?

It will improve the performance to a great level if we go with cacheFirst pattern with maxAge for cache. As the website don't get update much frequently, we can even set the maxAge to 2days. Fetching content from cache will load the pages really fast.

May be sometime I am reading the docs, I'll be able to read it even offline. People like me who usually read the docs while travelling can be really helped with this, because they don't have a stable connection. They will be able to browse any page they have visited before.

The docs on this site (and arguably Homebrew itself) isn't really useful without an internet connection. For the cases where it's not: there is man brew. Sorry!

j-f1 commented

There’s also the Homebrew docs on DevDocs, which can be downloaded for offline use.