Tag Archive for 'javascript'

CSS and JavaScript consolidation: fetching one big file is faster than ten small files

So you’ve enabled caching, gzipped your files, but your site still loads slowly? The culprit might be the large number of separate CSS and JavaScript files that the browser must load when first visiting your site.
Continue reading ‘CSS and JavaScript consolidation: fetching one big file is faster than ten small files’

If you liked this post, please subscribe to my feed. Thanks for visiting!

Minify and compress Javascript/CSS with minimal CPU overhead

With modern web designs, especially those with AJAXy features, you’d be shocked to find that Javascript and CSS contribute significantly to the amount of data your browser downloads for a webpage. Usually, the Javascript and CSS files are larger than the HTML webpage itself. Continuing my trend of debunking popular or common beliefs, read on for why on-the-fly JS/CSS compression that you read about on Digg often will actually crash your site hard when you get Dugg. I also present a simple yet more efficient way of compressing your files.
Continue reading ‘Minify and compress Javascript/CSS with minimal CPU overhead’