Cache Management
Combining Javascript & CSS, a Better Way

Combining Javascript & CSS, a Better Way

10/3/2011 · Matthew Prince

What this post added

Introduced Rocket Loader, a new feature that addresses the performance overhead of multiple HTTP requests for Javascript and CSS files. Instead of concatenating files, Rocket Loader streams individual files over a single HTTP connection to Cloudflare's network. This preserves file atomicity, avoids namespace clobbering bugs, allows for browser caching of individual files, and works with third-party scripts. It can be enabled manually by marking script tags with `cf-async="true"` or automatically for all resources, with an option to exclude specific scripts using `cf-async="false"`.

Read the original post ↗