DEV Community

Discussion on: A gentle introduction to Progressive Web Apps

Collapse
 
jimwalsh94 profile image
jimwalsh94

Thanks for this article.

Given the limitations of older browsers like IE 11, how should a developer be building a PWA-enabled web app that is backwards compatible?

Collapse
 
paco_ita profile image
Francesco Leardini

As IE11 does not support Service Worker and Cache API, you should implement the logic by scratch.

This means detecting when the client is offline and store some PUT/POST Requests in an Indexed dB in order to trigger them again once the user gets online again.

Indexed dB can also be used to cache some data and make it available even when offline.

I am not aware of polyfills for IE11, but before starting implementing a custom solution it might be worth to search for them.