Title: Getting errors with cache and cdn plugins
Last modified: May 2, 2021

---

# Getting errors with cache and cdn plugins

 *  [careerbuggy](https://wordpress.org/support/users/careerbuggy/)
 * (@careerbuggy)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/getting-errors-with-cache-and-cdn-plugins/)
 * Hi,
    I installed SuperPWA, OneSignal, LiteSpeed cache, and Bunny CDN plugins.
   SuperPWA and Onesignal work without any errors when I do not use Bunny CDN. With
   Bunny CDN and LiteSpeed cache, I get 6 to 7 errors and the OneSignal popup and
   icon do not show up, and Add to Home Screen popup too are not showing up.
 * I tried different ways to exclude SuperPWA .jason and .js files still no luck.
 *     ```
       [Service Worker Installation] Installing service worker failed SecurityError: Failed to register a ServiceWorker: The origin of the provided scriptURL ('https://xxx.b-cdn.net') does not match the current origin ('https://www.xxx.com').
   
       Access to fetch at 'https://xxx.b-cdn.net/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=ec4be6d5-xxxx' from origin 'https://www.xxx.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
   
       ServiceWorkerManager.js:370 GET https://xxx.b-cdn.net/wp-content/plugins/onesignal-free-web-push-notifications/sdk_files/OneSignalSDKWorker.js.php?appId=ec4be6d5-xxxx net::ERR_FAILED
       ```
   
 * Let me know.
    Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [SuperPWA](https://wordpress.org/support/users/superpwa/)
 * (@superpwa)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/getting-errors-with-cache-and-cdn-plugins/#post-14392453)
 * Can you please share the URL of your website? So that we will check and let you
   know back.

Viewing 1 replies (of 1 total)

The topic ‘Getting errors with cache and cdn plugins’ is closed to new replies.

 * ![](https://ps.w.org/super-progressive-web-apps/assets/icon-128x128.png?rev=1842063)
 * [Super Progressive Web Apps](https://wordpress.org/plugins/super-progressive-web-apps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/super-progressive-web-apps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/super-progressive-web-apps/)
 * [Active Topics](https://wordpress.org/support/plugin/super-progressive-web-apps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/super-progressive-web-apps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/super-progressive-web-apps/reviews/)

## Tags

 * [Super PWA](https://wordpress.org/support/topic-tag/super-pwa/)

 * 1 reply
 * 2 participants
 * Last reply from: [SuperPWA](https://wordpress.org/support/users/superpwa/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/getting-errors-with-cache-and-cdn-plugins/#post-14392453)
 * Status: not resolved