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.