I have a Polymer application, and I would like to find the easiest possible path to decrease load times.
The app is online (although it's TOTALLY unfinished): http://www.entertainers.biz/
At the moment, load times are geological.
I tried polymer build
, but only got marginal improvements. The problem is that fetching the app is 219 request (two hundred and nine-teen!).
Ideally, I would turn the two main files (my-main.html and my-app.html) into something static. I experimented with vulcanize, and when I tried to vulcanize one or the other, the whole thing basically stopped working.
Another approach would be to create a file that includes everything needed by my-app and my-main in terms of imports (and just those), and then include the vulcanised version of those, so that those become one call (of around 1Mb).
Am I missing something totally obvious?
As it turns out, the problem I was having were caused by https://github.com/Polymer/polymer-cli/issues/444