Javascript

  • 31st December 2007

Webhelpers and Javascript Minification

Here's a practical idea which I have in use in a project of mine. Most of you probably use some javascript library or have some javascript files that you use in your pylons application. There's also some talk going on related to javascript files compression, and more recently, minification. While I'm developing, I like to use the normal(non compressed) javascript files, because it helps on debugging. But for production, using compressed javascript files reduces page load times. Pylons Webhelpers comes with a useful function to help you include javascript files on your templates, javascript_include_tag. …

Read more →