Upgrade to Pro — share decks privately, control downloads, hide ads and more …

assetic in the real world

assetic in the real world

Web performance is getting more important as mobile usage increases. Combining and minifying assets is one way to speed up page load. PHP offers the assetic library which takes care of most asset processing needs through filters. This talk gives an introduction into assetics, the benefits and challenges you'll encounter and finishes with some ideas on how to make asset processing better.

Sebastian

May 15, 2013
Tweet

More Decks by Sebastian

Other Decks in Technology

Transcript

  1. 15.05.2013 What to do? ✔ Remove comments / unneeded code

    ✔ compress code (remove newlines) ✔ combine files (one css, one js) ✔ Sprite images
  2. 15.05.2013 symfony/assetic-bundle ✔ Configuration through config.yml ✔ twig integration ✔

    dev/prod mode ✗ Unexpected behaviour / buggy(?) ✗ asset generation on the fly very slow