Kibana 4 Iframe Index.js size

Hi,

When I use the share a link function for my dashboard in Kibana 4.0.2 I see that the downloaded index.js is 1mb in size. When I embed that same dashboard via iframe (using the Embed this dashboard link) the index.js file is 5mb in size. This is causing require.js timeout issues at some sites due to slower network speeds.

Is the change in size between the two sharing methods expected?

Any input would be much appreciated.

Regards,

Rob

I'm not sure exactly what you mean by difference in file sizes - could you elaborate? All embedding does is turn off some UI elements, like nav bars.

Hi,

Thanks for the response. I was being a little stupid. I've written a lightweight proxy to accept traffic on port 443, parse the kibana payload, check authentication, and redirect to 5601. I'd forgotten to capture and send on the kibana client http request headers, this meant that the browser was doing a complete source download at each access, rather than relying on the cache (5mb v 250bytes!).

Thanks,

Rob