Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Plugins into asynchronous loader snippet #336

Closed
MariusBrill opened this issue Sep 6, 2022 · 5 comments
Closed

Integrate Plugins into asynchronous loader snippet #336

MariusBrill opened this issue Sep 6, 2022 · 5 comments
Assignees

Comments

@MariusBrill
Copy link

Hi everyone,

i would like to integrate plugins into boomerang loaded with the asynchronous loader snippet (the one using iframes). Do you have any example on how i can do this?

Best regards,
Marius

@ceckoslab
Copy link

Hello @MariusBrill

Our readme is kind of long but somewhere in the middle we have documented the asynchronous loader snippethttps://github.com/akamai/boomerang/blob/master/README.md

We have the full source code and a minified version in the readme.

Does this work for you?

@ceckoslab ceckoslab self-assigned this Sep 6, 2022
@bluesmoon
Copy link
Member

Specifically if you want to add plugins, you need to run the build script with your plugins, that will create a single minified file that you use with the loader.

Note that it is no longer recommended to use the iframe loader as that is for legacy browsers. Use the link rel=preload loader which falls back to iframe for older browsers.

@ceckoslab
Copy link

@MariusBrill here is also a tutorial about building Boomerang: https://akamai.github.io/boomerang/akamai/tutorial-building.html

@MariusBrill
Copy link
Author

Hey guys,
Sorry for my late reply! Just saw the ticket again and saw that I didn't answer.
@ceckoslab the tutorial helped me a lot! Thank you so much :)

@SaschaBrechmannVHV
Copy link

@MariusBrill : Could this closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants