Vulcanize local Polymer app

262 Views Asked by At

We use Polymer to build a local app. Each Polymer element has a .html and .css (compiled from .scss) file.

Does the use of vulcanize (it concatenates the JS and Polymer elements into one file) provide an advantage? Does the use of some minify tool after vulcanize provide any advantage?

Once again, it is a local (only) app so I mostly care about performance and speed.

2

There are 2 best solutions below

0
On BEST ANSWER

From Concatenating Web Components With Vulcanize.

The short answer is “don’t guess it, test it”. There is always a trade-off when it comes to concatenation but tools like WebPageTest can be useful for determining what your true bottlenecks are.

2
On

You can use chrome browser developer tools (acess via menu) and compare application load speed for plain, vulcanized, minified versions or combinations of them. Then decide which bests suits your needs.