Posts Tagged: css


1
Dec 09

Configure Your Web Server to Merge, Cache and Compress Dependent Js and Css Files.

It’s a well known trick by most developers and sysadmins alike to merge your static files into one another to reduce communication overhead between your servers and your coveted visitors. The premise is a simple one: if you require clients to download six JavaScript files, pipe them into a single file and have them download the single file instead of six. You just cut your static request cycle down by 83%. Good for you. The truth is, there are a lot of ways to do this as it’s a pretty well known and practiced concept. The problem is there has never been a simple; language, application and framework agnostic method of doing this with minimal (to no) intervention. They either suggest you use built-in functions like the following, injecting the JS onto the literal page:
Continue reading →