Use GZip with PHP

I recently started using GZip headers in my websites and the results are simply amazing. Right up there with coffee, sneezing polar bears and green traffic lights. Nowadays, files are big. People used to optimize graphics and CSS stylesheets. This day and age we just don’t care anymore. At the same time bandwidth is getting more expensive and the mobile market is growing bigger. Not a good combination. Enter GZip Adding GZip to your applications couldn’t be simpler, and using this compression to your output can reduce the amount of data being sent by around 70-80% for your average stylesheets.