• Resolved Marco Panichi

    (@marcopanichi)


    I noticed that all the code of OneSignal is embedded on the <head>.

    This could be a speed problem and it could block the rendering of the page also I suppose (am I wrong?)

    It is possible to move all the code to the footer?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Marco Panichi

    (@marcopanichi)

    Up – thanks!

    +1

    Thread Starter Marco Panichi

    (@marcopanichi)

    Hi Camilo,

    They responded me by mail:

    We don’t recommend adding it to the footer. Our SDK needs to load in the head in order for our methods to be usable as soon as the site opens.

    You can add the init code to the body, but keep the like to the sdk in the head.

    Thanks

    Jon from OneSignal

    I’m not very happy of that, the onesignal is really secondary to the contents.

    Thank you Marco for your answer
    They are leaving this plugin somewhat abandoned ….

    Hello

    Due to the large amount of support we get, it is not always easy to check the support thread here, we offer many ways to get in touch with us through our support channel on your onesignal.com dashboard or email [email protected]

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Optimize for speed (and usability)’ is closed to new replies.