O'Reilly logo

jQuery Design Patterns by Thodoris Greasidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bundling and minifying resources

The first place to look when trying to make a page load faster is for ways to reduce the number and total size of HTTP requests. The benefits come from the fact that the browser downloads the content in larger chunks instead of spending time waiting for a lot of small round-trips to the server to complete. This is especially beneficial for users with low speed connections such as mobile users.

Resource concatenation is a simple concept that does not need any introduction. This can be done manually but it is preferable to automate this task with a bundling script or introduce a build step for your project. Depending on your development environment, there are different bundling solutions to choose from. If you are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required