{"id":206,"date":"2012-09-12T14:03:42","date_gmt":"2012-09-12T18:03:42","guid":{"rendered":"\/blog\/?p=206"},"modified":"2018-07-13T11:28:52","modified_gmt":"2018-07-13T15:28:52","slug":"gzip-by-default","status":"publish","type":"post","link":"https:\/\/www.devolve.local\/gzip-by-default\/","title":{"rendered":"gzip by default"},"content":{"rendered":"

In my last\u00a0post on gzip<\/a>, I discovered that gzip can compress data in a more sync-friendly way. This totally unrelated\u00a0blog entry<\/a> from nginx discusses a new gunzip filter that decompresses compressed data for clients that don’t support gzip.<\/p>\n

I was thinking about this the other day. Why not store all your content compressed, then you can just quickly use sendfile()<\/code> or some other fast method to deliver data directly to a client, and decompress the compressed data for clients that don’t support it?<\/p>\n