EllisLab/CodeIgniter — pull request #964 by atiredmachine (2012-01-25 00:10:39+00:00)
Title: Output cache GZipped before saving file to reduce diskspace consumption and repetitive processing overhead at output

The idea here is that instead of the server having to gzip a cached file every single time it is requested, instead the file is gzipped when it is written, thus reducing diskspace consumption and the processing overhead associated with gzipping the same content repeatedly on every single page request. For the 10% (or probably much less these days) of cases where GZip is not supported by the browser, the cached content is uncompressed before being outputted.

Due to the change in file format for the cached files, developers will need to clear the cache folder when upgrading.

This is just one of many ideas for improvements to the output library that I proposed here:
http://codeigniter.uservoice.com/forums/40508-codeigniter-reactor/suggestions/2530591-cache-output-library-improvements-overhaul-?tracking_code=57a1219af213e7d050ef5dd9064ca9b7

I apologize that the commits for my other pull request are also included in this one. I think I understand how to avoid that in the future, but I have no idea how to go back and remove them. I'm still trying to get the hang of git. It was confusing that the document that explains the version control methodology you use said I should always merge my commits back into the "develop" branch... but I think that that's the reason why those other commits got included in this branch?