A Smarter Way to Include

Reduce the number of HTTP requests required to render the page, resulting in faster page loads by combining and compressing multiple JavaScripts into one JavaScript file and multiple CSS files into one style sheet file.

Get started right now!

Grab the latest version of Smart Include and speed up your pages.

Speed it up!

Todays websites tend to be pretty heavy on the JavaScript side. Although the page itself is rendered at light speed at the server, can multiple HTTP requests to fetch each and every JavaScript and CSS file make the page appear sluggish to the end user.

To prevent this it is vital to reduce the number of HTTP requests required to render the page. To combine and compress multiple JavaScripts into one JavaScript file and multiple CSS files into one style sheet file will improve the end user's perception of the time it takes to display the page.

This library will help you with that. It will also ensure that GZIP capable clients will recieved the compressed files without any additional configuration necessary.

Minify and compress

Minifies Javascript and CSS and compress them for GZIP-enabled clients.

Bundle

Compile same types of files to a single file to reduce round robin requests.

Caching

Reduce server load with versioned client caching.

Easy to debug

Keeps the original file human readable and automaticly recompiles when an included file is changed.

Easy to use

Get started quickly!
How to use the library

Open source

This library is released under MIT license making it free to use even commercially without restrictions.