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.