Wp-rocket: OneSignal Add-ON

Created on 11 Nov 2018  路  6Comments  路  Source: wp-media/wp-rocket

Is your feature request related to a problem? Please describe.

Please support OneSignal. It takes too much time to load their script.

Describe the solution you'd like

Onesignal Script as facebook and Google Analytics.

https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js

community feature request wontfix

Most helpful comment

New features are only added in major versions, not in minors. Your request is filed and will be considered, but please be patient :)

All 6 comments

Is it possible to include it in 3.2.3 or 3.2.4? I'm sure it will improve the load time a lot @Tabrisrp
Thanks 馃 馃憤

New features are only added in major versions, not in minors. Your request is filed and will be considered, but please be patient :)

Any news about this? @Tabrisrp Thanks

@Camilo517 in 3.7, we have introduced a feature to delay JS execution. Can you try delaying the OneSignal script and see how that works out?

If delaying works correctly that would be a much better UX improvement that hosting the file locally.

Internal note: A ticket where user intends to try this - https://secure.helpscout.net/conversation/1278069716/193559/

Adding the "OneSignalPageSDKES6.js" and "OneSignalSDK.js" in Delay JS Textarea worked successfully:
See these scripts being delayer correctly: https://recordit.co/m10p6IKVxk

Hi @Camilo517

Thanks for contributing to WP Rocket repository.

As @arunbasillal and @JohnTorvik suggested, you should use our new Delay JS to optimize OneSignal loading time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arunbasillal picture arunbasillal  路  4Comments

Tabrisrp picture Tabrisrp  路  5Comments

Screenfeed picture Screenfeed  路  5Comments

jbma picture jbma  路  5Comments

piotrbak picture piotrbak  路  4Comments