Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Article: how to write a fast site using Polymer #296

Closed
jyasskin opened this issue Mar 3, 2014 · 2 comments
Closed

Article: how to write a fast site using Polymer #296

jyasskin opened this issue Mar 3, 2014 · 2 comments
Assignees

Comments

@jyasskin
Copy link

jyasskin commented Mar 3, 2014

Polymer/polymer#426 sped up polymer-project.org significantly by doing page transitions over ajax and making a couple other changes. It would be good to write an article explaining what client- and server-side changes another project would need to make to get the same improvement.

@ebidel ebidel added the article label Mar 3, 2014
@ebidel
Copy link
Contributor

ebidel commented Mar 3, 2014

Good idea! I'll start dumping ideas here.

  • discussion of polyfill vs. native
  • vulcanize all the things (--csp --strip is very important for polyfill and parser context switching)
  • ajaxified site so common imports were loaded once once. Once in page, swap things out.
    • need better import de-duping for full modularization of imports
  • body[unresolved] is useful for starters, but complex apps need to control FOUC themselves
    • we had to replicate some css in our main stylesheet so the elements would do less layout when they're upgraded.
  • use one time bindings...?
  • stay away from attribute selectors. they're generally slow
  • pretty printing code client-side is handy, but it comes with a cost.

@robdodson robdodson self-assigned this Aug 12, 2014
@robdodson
Copy link
Contributor

I think this is related to: #339. Closing in favor of #339, feel free to reopen if you disagree.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants