Zum Hauptinhalt gehen

HTML5 2.5 Improved loading speed

Kommentare

2 Kommentare

  • Permanently deleted user

    Hello Chris,

    The loading improvement for 2.5 focused primarily on organizing and formalizing the HTML5 viewer's loading process in order to gain embedding portability, extensibility, and ease of customization. The viewer's overall loading time did not see a significant decrease with this release, although the splash screen has been reworked, increasing perceived performance by appearing faster and behaving more reactively. While the mentioned performance gains include improvements beyond loading alone, performance enhancements related to loading include a large reduction in delay time for the deployment of custom code, which can now run asynchronously during the viewer's loading process (the DOMContentLoaded JavaScript event fires much earlier than it did in 2.4).

    The loader launches asynchronous requests in order to download resources concurrently (while maintaining script execution order) on all of our supported platforms. The new one-line embed loader syntax is capable of taking several viewer initialization options that you can use to make advanced customizations to a viewer.

    For more information about using the new loader syntax to customize a viewer, check out the Administrator and Developer Guide under section 20.11: "HTML5 Viewer Embedding".

    If you are experiencing an unfamiliar slowdown, and perhaps cloud-hosted resources are slow in your experience, you may want to try uncommenting the following line (#33) in the viewer's Index.html file:

                //var geocortexUseLocalEsriApi = true;

    Uncommenting the above line ensures that the viewer is only loading locally hosted files, which might be worth a try.

    0
  • Chris Roberts

    Thanks Chase

     

    That makes things a bit clearer for us, appreciate your response.

    I will give your suggestion a try and see if that makes any difference.

    Cheers

    Chris

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.