1. Home
  2. How to
  3. How to enable CDN Compatibility in PWA

How to enable CDN Compatibility in PWA

CDN as we know it caches the data like CSS js etc.

Our PWA based on serviceworker.js, so when users are Enable the CDN on their site, it’s changed the serving URL of service-worker.js also.

Because of that PWA Service workers are not installing properly.

For the solution of this situation we created an option as follows:

First, go to WordPress Dashboard -> Navigate to PWA -> Settings -> Advanced -> Enable “CDN Compatibility” option and then click on the “Save Setting” option.

  • CDN Compatibility: By using this option you remove conflict with the CDN

That’s it for this tutorial!

We hope we’ve clear your doubts in case If you have any feedback or questions, Just contact us here and we are always available for you.

Updated on November 11, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment