News for hackers. Stuff that matters.
Re:Show HN: I built my wedding website using Polymer by robdodson on Tuesday July 05, 2016 @08:34PM (#12040499)
I think you can bring the time to initial interactive experience way down by using Polymer CLI. Looking at wedding-app.html it looks like it's loading a lot of elements which aren't on screen yet.

Take a look at the app-drawer-template example and note the line that lazy loads element definitions when pages change: https://github.com/Polymer/app-drawer-template/blob/master/s...

If you use the CLI you can create a polymer.json file that lets you fragment up your site: https://github.com/Polymer/app-drawer-template/blob/master/p... This way you'll create separate vulcanized bundles and you can lazy load them right when the user clicks on the section, hopefully improving that first load experience.

Ignore the haters on HN. Congrats on the wedding!!!

There are no comments on this comment yet.