Tuesday, January 28, 2014

Text Compression for Web Developers

Overview

Think Mobile First

788 million mobile only users by 2015.

Pre-compress JS and CSS Files using Zopfli

Configure Apache to Serve Your Pre-compressed Files

Here's a snippet of Apache configuration that will serve out pre-compressed gzip files for javascript and css and set the proper Content-Type and Content-Encoding.

No comments:

Post a Comment