Skip to content

Download Size reduction #60

@KrishnaPG

Description

@KrishnaPG

This is great plugin. However, when using on dashboard it is taking very very long time to load. When investigated, it looks like it is downloading 2.7MB js file (please refer the below screenshot). The total page size (including data) is 2.8 MB, out of which 2.7MB is just this js file.

The file in question is:

/natel-plotly-panel/lib/plotly.min.js?_cache=1548169124278

Is it possible to reduce the size of this? It looks like it is the Plotly standard js file, in which case, would strongly recommend using CDN link, instead of forcing the download from the grafana plugin folder (hosted by users, and mostly does not take advantage of CDN)

image

This slow loading is looking very very awkward for about 20+ seconds on our servers, while all the rest of the panels have loaded and data populated. In the below screenshot the panels in the red areas marked takes lot of time to load because of this heavy file size.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions