Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Embed Forum, load page and forum at the same time?

Is there a way to load the embedded forum and page at the same time? right now it takes about 1-2secs for the forum to appear. I'm using the embed.js on the same site/domain shouldn't the load be instant and at the same time as page load?



  • Options
    hgtonighthgtonight ∞ · New Moderator

    I haven't seen you around before. Hello!

    The display latency is due to a) your server latency and b) client JS latency. When embedding the forum, a user requests the embedded page. Once that page is loaded, embed.js requests your forum page and puts it into an iframe. This results in visible latency as the user is essentially requesting two pages before the page shows up. Subsequent pages should load faster (since the embedded page isn't reloading, just the iframe).

    There is no way to get around this double loading using the embedded solution.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.