# Desktop PWA works with Discourse!

**URL:** https://meta.discourse.org/t/desktop-pwa-works-with-discourse/86348
**Category:** Announcements
**Created:** [4월 28, 2018, 2:23오전 UTC](https://meta.discourse.org/t/desktop-pwa-works-with-discourse/86348 "2018-04-28T02:23:24Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [5월 22, 2019, 6:40오후 UTC](https://meta.discourse.org/t/desktop-pwa-works-with-discourse/86348/27 "2019-05-22T18:40:45Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/9/8/98df37df387a7e8f9817e82ca7bab4460a4a48ad.gif)

We want to get this working, but the last time we tried with the “You are offline” page wasn’t a great experience. Also we had a lot of [suggestions](https://meta.discourse.org/t/suggestion-offline-mode-pre-loading-discourse-content/115268) about [making](https://meta.discourse.org/t/pocket-offline-reader-support/17500) reading Discourse [possible](https://meta.discourse.org/t/offcourse-a-proof-of-concept-offline-reader-for-discourse/22356) when you are [offline](https://meta.discourse.org/t/exploring-serviceworkers-for-discourse/32422).

Using some libraries from [GitHub - GoogleChrome/workbox: 📦 Workbox: JavaScript libraries for Progressive Web Apps · GitHub](https://github.com/GoogleChrome/workbox) I was able to:

- Remove the “You are offline” page

- Make Discourse fallback to cache when a network request fail aka Discourse will allow offline browsing of every previously visited page.

- Get a perfect score in the PWA Lighthouse audit:

- Get the “Install Site” on the Desktop working (availiable in Chrome canary for now, will land in stable around August)

### Technical Details

The changes are pending in this branch: [https://github.com/discourse/discourse/compare/offline](https://github.com/discourse/discourse/compare/offline)

A demo site is running at [https://discourse-workbox.muito.ninja/](https://discourse-workbox.muito.ninja/)

---

_[View the full topic](https://meta.discourse.org/t/desktop-pwa-works-with-discourse/86348)._
