{"id":109,"date":"2014-06-13T00:01:33","date_gmt":"2014-06-13T09:01:33","guid":{"rendered":"http:\/\/blog.box.kr\/?p=109"},"modified":"2014-06-13T00:01:33","modified_gmt":"2014-06-13T09:01:33","slug":"%eb%84%a4%ed%8a%b8%ec%9b%8c%ed%81%ac-%ed%8a%b8%eb%9e%98%ed%94%bd%ec%9d%84-%ec%a4%84%ec%9d%b4%ec%9e%90-apache-gzip-%ec%82%ac%ec%9a%a9","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=109","title":{"rendered":"\ub124\ud2b8\uc6cc\ud06c \ud2b8\ub798\ud53d\uc744 \uc904\uc774\uc790, Apache gzip \uc0ac\uc6a9"},"content":{"rendered":"<p style=\"color: #555555;\">XML, JSON \ubc29\uc2dd\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud560 \ub54c \uadf8 \ud06c\uae30\uac00 1MB\uc774\uc0c1 \ub418\uba74 \uc804\uc1a1\uc2dc\uac04\uc774 \uc0c1\ub2f9\ud788 \ub9ce\uc774 \uac78\ub9ac\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4. \ub370\uc774\ud0c0 \ub7c9\uc774 \ub9ce\uc73c\uba74 \ud2b8\ub798\ud53d\uc774 \ub298\uc5b4\ub098\uace0 \ud2b9\ubcc4\ud788 \uc6f9\ud638\uc2a4\ud305\uc744 \ubc1b\ub294 \uc0ac\ub78c\ub4e4\uc5d0\uac8c\ub294 \ud2b8\ub798\ud53d\ub7c9\uc774 \ubc14\ub85c \uae08\uc804\uc801\uc778 \ubb38\uc81c\uc640 \uc5f0\uad00\uc774 \ub41c\ub2e4.<\/p>\n<p>\uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub098\ub294 Apache\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 gzip\uc744 \uc774\uc6a9\ud588\ub2e4.<\/p>\n<p>\ubb38\uc11c\ud30c\uc77c\uc740 Text\ud615\ud0dc\uc774\uae30 \uc555\ucd95\ud560 \uacbd\uc6b0 80%~90%\uc774\uc0c1\uc758 \uc555\ucd95\ub960\uc744 \ubcf4\uc778\ub2e4.<br \/>\n<span style=\"text-decoration: underline;\">\uc555\ucd95\ud574\uc11c \ub370\uc774\ud0c0\ub97c \ubcf4\ub0b4\uac8c \ub418\uba74 \ub370\uc774\ud130 \uc804\uc1a1\uc2dc\uac04\ub3c4 \uc904\uaca0\uc9c0\ub9cc \ub124\ud2b8\uc6cc\ud06c \ud2b8\ub798\ud53d\ub3c4 \uc904\uc5b4\ub4e4\uc5b4 \uc77c\uc11d\uc774\uc870\uc758 \ud6a8\uacfc\ub97c \ubcf8\ub2e4.<\/span><\/p>\n<p>\ucc38\uace0\ub85c gzip\uc740\u00a0<strong>HTTP\/1.1<\/strong>\uc5d0\uc11c\ub9cc \ub3d9\uc791\uc774 \uac00\ub2a5\ud558\ub2e4. \uc65c\ub0d0\ud558\uba74 HTTP\/1.0\uc5d0\uc11c\ub294 gzip encoding\uc774 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc774\ub2e4.<\/p>\n<p>\uc5ec\uae30\uc11c \ub098\uc624\ub294 \uc608\uc2dc\ub294 \uc6f9\ud638\uc2a4\ud305\uc744 \ubc1b\ub294 \uc0ac\ub78c\ub4e4\uc5d0\uac8c \ud574\ub2f9\ub418\uc9c0 \uc54a\ub294\ub2e4. \uc6f9\ud638\uc2a4\ud305\ubc1b\uc740 \uc0ac\ub78c\uc740 \uc65c\ub0d0\ud558\uba74 \uc11c\ubc84\uc790\uccb4\uc758 \uc124\uc815\uc744 \ubc14\uafc0 \uc218 \uc788\ub294 \uad8c\ud55c\uc774 \uc5c6\uae30 \ub54c\ubb38\uc774\ub2e4. \ud558\uc9c0\ub9cc PHP\ub97c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\uc911 \ud2b8\ub798\ud53d\ubb38\uc81c\ub85c \uace0\ubbfc\ud558\ub294 \uc0ac\ub78c\uc740<br \/>\n<a style=\"color: #2970a6;\" href=\"http:\/\/qaos.com\/article.php?sid=1684\" target=\"_blank\">\ud638\uc2a4\ud305 \uc0ac\uc774\ud2b8\uc5d0\uc11c gzip \uc555\ucd95 \uc0ac\uc6a9\ud558\uae30(<\/a><a style=\"color: #2970a6;\" href=\"http:\/\/qaos.com\/article.php?sid=1684\">http:\/\/qaos.com\/article.php?sid=1684<\/a>)\u00a0\ubb38\uc11c\ub97c \ucc38\uace0\ud558\uae30 \ubc14\ub780\ub2e4. \uc774 \ubb38\uc11c\uc5d0\uc11c\ub294 PHP\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 gzip\uc744 \uc774\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc555\ucd95\ud574\uc11c \uc804\uc1a1\ud558\ub294 \ubc29\ubc95\uc744 \uc4f0\uace0 \uc788\ub2e4.<\/p>\n<h4 style=\"font-weight: bolder;\"><\/h4>\n<h3 style=\"font-weight: bolder;\">1. gzip \uc124\uce58<\/h3>\n<p style=\"color: #555555;\">\ub098\ub294 \uc548\ub155\ub9ac\ub205\uc2a4\ub97c \uc4f0\uae30 \ub54c\ubb38\uc5d0 \ud328\ud0a4\uc9c0\ucd94\uac00 \uae30\ub2a5\uc744 \uc774\uc6a9\ud558\uc5ec \uc27d\uac8c Apache\uc5d0\uc11c \uad6c\ub3d9\ub418\ub294 mod_gzip\uc744 \uc124\uce58\ud560 \uc218 \uc788\uc5c8\ub2e4. \ub9cc\uc57d \ub2e4\ub978 \ub9ac\ub205\uc2a4\ub97c \uc4f4\ub2e4\uba74 \uc790\uccb4 \ud328\ud0a4\uc9c0\ucd94\uac00 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uac70\ub098\u00a0<a style=\"color: #2970a6;\" href=\"http:\/\/sourceforge.net\/projects\/mod-gzip\/\">http:\/\/sourceforge.net\/projects\/mod-gzip\/<\/a>\uc5d0\uc11c \ub2e4\uc6b4\ubc1b\uc544 \uc124\uce58\ud558\uae30 \ubc14\ub780\ub2e4.<\/p>\n<p>\uc548\ub155\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uba85\ub839\uc744 \ud1b5\ud574 gzip\uc744 \uc124\uce58\ud560 \uc218 \uc788\ub2e4.<\/p>\n<blockquote style=\"color: #555555;\"><p>#pkgadd apache-gzip<\/p><\/blockquote>\n<h3 style=\"font-weight: bolder;\">\n2. gzip \uc124\uc815\ubcc0\uacbd<\/h3>\n<p style=\"color: #555555;\">\ngzip\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc548\ub155\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 apache gzip \uc124\uc815\ud30c\uc77c\uc744 vi \uc5d0\ub514\ud130\ub85c \uc5f0\ub2e4.<br \/>\n<span id=\"callbacknestblogjidolstarcom1477200\"><\/span><\/p>\n<blockquote style=\"color: #555555;\"><p>vi \/etc\/httpd\/conf\/module.d\/gzip.conf<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<fieldset class=\"geshi r2 g_hascaption\" style=\"color: #555555;\">\n<legend><span class=\"g_caption\">gzip.conf<\/span>\u00a0<span class=\"g_lang\" style=\"color: #aaaaaa;\">(Language : xml)<\/span><\/legend>\n<div class=\"code\"><span class=\"sc3\"><span class=\"re1\">&lt;IfModule<\/span>\u00a0mod_gzip.c<span class=\"re2\">&gt;<\/span><\/span><br \/>\n# \uc774 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc0c1\ub2e8\uc758<br \/>\n# gzip_module \ubaa8\ub4c8\uc744 \ud65c\uc131\ud654 \uc2dc\ucf1c\uc57c \ud55c\ub2e4.<\/p>\n<p><span class=\"sc3\"><span class=\"re1\">&lt;IfModule<\/span>\u00a0mod_log_config.c<span class=\"re2\">&gt;<\/span><\/span><br \/>\n# gzip \uc555\ucd95\uc5d0 \ub300\ud55c \ub85c\uadf8<br \/>\n#<br \/>\n<span style=\"color: #ff0000;\">LogFormat &#8220;%h %l %u %t &#8220;%r&#8221; %&gt;s %b &#8220;%{Referer}i&#8221; &#8220;%{User-Agent}i&#8221; mod_gzip: %{mod_gzip_result}n In:%{mod_gzip_input_size}n Out:%{mod_gzip_output_size}n:%{mod_gzip_compression_ratio}npct.&#8221; gzipcombined<br \/>\nCustomLog logs\/access_gzip_log gzipcombined<\/span><br \/>\n<span class=\"sc3\"><span class=\"re1\">&lt;\/IfModule<span class=\"re2\">&gt;<\/span><\/span><\/span><\/p>\n<p># HTTP \uc555\ucd95 \uc804\uc1a1 \uc0ac\uc6a9\uc5ec\ubd80 \uc124\uc815<br \/>\n<span style=\"color: #ff0000;\">mod_gzip_on\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0Yes<br \/>\n<\/span><br \/>\n# Transfer-encoding: chunked \uc81c\uac70\uc5ec\ubd80.<br \/>\n# Yes &#8211; \uc81c\uac70<br \/>\n# No\u00a0 &#8211; \uc0ac\uc6a9<br \/>\nmod_gzip_dechunk\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Yes<\/p>\n<p># browser \uac00 protocol \uc758 \uc815\ubcf4\ub97c \uac00\uc9c0\uace0 \uc788\uc9c0 \uc54a\uc744 \uacbd\uc6b0<br \/>\n# \ucc98\ub9ac\ud560 \ucd5c\uc18c http protocol level.<br \/>\n# 1000 &#8211; HTTP\/1.0<br \/>\n# 1001 &#8211; HTTP\/1.1<br \/>\nmod_gzip_min_http\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a01001<\/p>\n<p># \uc555\ucd95\uc744 \ud560 \ucd5c\uc18c \ud30c\uc77c \uc0ac\uc774\uc988(byte)<br \/>\n<span style=\"color: #ff0000;\">mod_gzip_minimum_file_size\u00a0 \u00a0 500<br \/>\n<\/span>\u00a0 \u00a0 # \uc555\ucd95\uc744 \ud560 \ucd5c\ub300 \ud30c\uc77c \uc0ac\uc774\uc988(byte)<br \/>\nmod_gzip_maximum_file_size\u00a0 \u00a0 0<br \/>\n# \uc555\ucd95\uc744 \ud560\ub54c \uc0ac\uc6a9\ud560 \ucd5c\ub300 \uba54\ubaa8\ub9ac \uc0ac\uc774\uc988(byte)<br \/>\nmod_gzip_maximum_inmem_size\u00a0 \u00a0100000<\/p>\n<p># \uc774\ubbf8 \uc804\uc1a1\ud55c \ud30c\uc77c\uc758 \ubcf4\uc874\uc5ec\ubd80<br \/>\n# Yes &#8211; \uc804\uc1a1\ud6c4 \ubcf4\uc874<br \/>\n# No\u00a0 &#8211; \uc804\uc1a1\ud6c4 \uc0ad\uc81c<br \/>\n<span style=\"color: #0000ff;\">\u00a0 \u00a0 mod_gzip_keep_workfiles\u00a0 \u00a0 \u00a0 \u00a0Yes<\/span><span style=\"color: #ff0000;\"><br \/>\n<\/span><br \/>\n# \uc555\ucd95 \uc124\uc815<br \/>\n# ARG1 &#8211; mime,handler,file,uri,reqheader,rspheader<br \/>\n# ARG2 &#8211; \uc555\ucd95\uc744 \ud560 item<br \/>\nmod_gzip_item_include file\u00a0 \u00a0 .css$<br \/>\nmod_gzip_item_include file\u00a0 \u00a0 .js$<br \/>\nmod_gzip_item_include mime\u00a0 \u00a0 ^text\/.*<br \/>\nmod_gzip_item_include mime\u00a0 \u00a0 ^image\/.*<br \/>\n<span style=\"color: #ff0000;\">mod_gzip_item_include mime\u00a0 \u00a0 ^application\/x-httpd-php<br \/>\n<\/span>\u00a0 \u00a0 mod_gzip_item_exclude handler ^perl-script$<br \/>\nmod_gzip_item_exclude handler ^server-status$<br \/>\nmod_gzip_item_exclude handler ^server-info$<\/p>\n<p># \uc555\ucd95\uc5d0\uc11c \uc81c\uc678\ud560 \uc124\uc815<br \/>\n# ARG1 &#8211; mime,handler,file,uri,reqheader,rspheader<br \/>\n# ARG2 &#8211; \uc555\ucd95\uc5d0\uc11c \uc81c\uc678\ud560 item<br \/>\n#mod_gzip_item_exclude file\u00a0 \u00a0 .css$<br \/>\n#mod_gzip_item_exclude file\u00a0 \u00a0 .js$<\/p>\n<p># mod_gzip \uc774 \uc791\uc5c5\uc744 \ud560 \uc784\uc2dc \ub514\ub809\ud1a0\ub9ac. mod_gzip_keep_workfiles \uc744<br \/>\n# \uc124\uc815\ud588\uc744 \uacbd\uc6b0 \uc774 \ud30c\uc77c\ub4e4\uc774 \ub0a8\uc544 \uc788\ub294 \uacf3\uc774\uae30\ub3c4 \ud558\ub2e4.<br \/>\n# Kernel 2.4 \uc774\uc0c1\uc5d0\uc11c shm \uc744 \uc0ac\uc6a9\ud560 \uacbd\uc6b0\uc5d0\ub294 \/dev\/shm \uc73c\ub85c \uc9c0\uc815\uc744<br \/>\n# \ud55c\ub2e4. \ucd5c\uace0 \uc18d\ub3c4\ub97c \uc5bb\uace0 \uc2f6\uc744 \uacbd\uc6b0\uc5d0\ub294 RAM disk \ub97c \uc9c0\uc815\ud55c\ub2e4.<br \/>\n<span style=\"color: #ff0000;\">mod_gzip_temp_dir\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/dev\/shm<br \/>\n<\/span><span class=\"sc3\"><span class=\"re1\">&lt;\/IfModule<span class=\"re2\">&gt;<\/span><\/span><\/span><\/p>\n<\/div>\n<\/fieldset>\n<p style=\"color: #555555;\">\uc548\ub155\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 gzip.conf \uc5d0 \ud55c\uae00\uc8fc\uc11d\uc774 \uc798 \ub418\uc5b4 \uc788\uc5b4\uc11c \ud2b9\ubcc4\ud788 \uc6a9\uc5b4 \ud574\uc11d\uc758 \uc5b4\ub824\uc6c0 \uc5c6\uc774 \uc124\uc815\uc774 \uac00\ub2a5\ud558\ub2e4.<\/p>\n<p>\ud2b9\ubcc4\ud788\u00a0\u00a0<span style=\"color: #ff0000;\">mod_gzip_minimum_file_size<\/span>\ub294 \uc555\ucd95\ud560 \ud30c\uc77c\uc758 \ucd5c\uc18c\ud06c\uae30\ub97c \uc124\uc815\ud558\ub294 \uac74\ub370 \uc791\uc740 \uc6a9\ub7c9\uc758 \ud30c\uc77c\uc740 \uc555\ucd95\ud558\ub294 \uac83\uc790\uccb4\uac00 \ubb34\uc758\ubbf8\ud558\uace0 \ub610\ud55c \uc555\ucd95\uc790\uccb4\ub3c4 \uc2dc\uac04\uc774 \uac78\ub9ac\ub294 \ubb38\uc81c\uc774\uae30 \ub54c\ubb38\uc5d0 \ub124\ud2b8\uc6cc\ud06c \ud2b8\ub798\ud53d\uacfc \uc555\ucd95\ud558\ub294 \uc2dc\uac04\ub3c4 \uc0dd\uac01\ud574\uc11c \uc801\uc808\ud55c \uac12\uc744 \uc815\ud558\ub3c4\ub85d \ud558\ub294\uac8c \uc911\uc694\ud558\ub2e4.<\/p>\n<p>\uadf8\ub9ac\uace0 \uc555\ucd95\uc124\uc815\uc5d0\uc11c\u00a0<span style=\"color: #ff0000;\">mod_gzip_item_include mime\u00a0 \u00a0 ^application\/x-httpd-php<\/span>\ub97c \ucd94\uac00\ud574\uc11c php\ub85c \ub9cc\ub4e4\uc5b4\uc9c4 Text\ubb38\uc11c\uac00 \uc555\ucd95\ub418\ub3c4\ub85d \ud588\ub2e4.<\/p>\n<p><span style=\"color: #0000ff;\">mod_gzip_keep_workfiles\u00a0 \u00a0 \u00a0 \u00a0Yes<span style=\"color: #000000;\">\ub97c NO\ub85c \ubc14\uafb8\uc790&#8230; \/dev\/shm\uc740 \uc6a9\ub7c9\uc774 \uc81c\ud55c\ub418\uc5b4 \uc788\uae30\ub54c\ubb38\uc5d0 \ub098\uc911\uc5d0 \ub108\ubb34 \ub85c\uadf8\uac00 \uc313\uc774\uba74 \ubb38\uc81c\uac00 \uc0dd\uae34\ub2e4.\u00a0<\/span><\/span><\/p>\n<h3 style=\"font-weight: bolder;\">3. apache \uc7ac\uad6c\ub3d9<\/h3>\n<p style=\"color: #555555;\">\uc124\uc815\ub41c \ubcc0\uacbd \uc0ac\ud56d\uc744 \uc801\uc6a9\ud558\uae30 \uc704\ud574\uc11c apache\ub97c \uc7ac\uad6c\ub3d9\ud55c\ub2e4.<\/p>\n<blockquote style=\"color: #555555;\"><p># service httpd reload<\/p><\/blockquote>\n<h3 style=\"font-weight: bolder;\">\n4. gzip \uad6c\ub3d9\ud655\uc778<\/h3>\n<p style=\"color: #555555;\">\n\uc774\uc81c \uc81c\ub300\ub85c \ub3d9\uc791\ud558\ub294\uc9c0 \ud655\uc778\ud558\ub294 \uc808\ucc28\uac00 \ub0a8\uc558\ub2e4.<br \/>\n\ub098\ub294 XML \ub370\uc774\ud0c0\ub97c \ub9cc\ub4dc\ub294 PHP\ucf54\ub4dc\ub97c \ub9cc\ub4e4\uc5b4\uc11c \uc6f9\ube0c\ub77c\uc6b0\uc838\uc5d0\uc11c \uc77d\uc5b4\uc62c \uc218 \uc788\ub3c4\ub85d \ud588\ub2e4.<br \/>\n\uadf8\ub9ac\uace0 \/var\/log\/httpd\/access_gzip_log \ub97c tail\uba85\ub839\uc744 \ud1b5\ud574 \uc2e4\uc2dc\uac04\uc73c\ub85c \ubcf4\uba74\uc11c gzip\uc774 \uad6c\ub3d9\ub418\ub294 \uac83\uc744 \ud655\uc778\ud588\ub2e4.<\/p>\n<blockquote style=\"color: #555555;\"><p><span style=\"color: #ff0000;\"># tail -f \/var\/log\/httpd\/access_gzip_log<\/span><br \/>\n&#8230;(\uc0dd\ub7b5)<br \/>\n192.168.0.17 &#8211; &#8211; [04\/Jul\/2007:10:44:21 +0900] &#8220;GET \uc694\uccadURL HTTP\/1.1&#8221; 200 171765 &#8220;-&#8221; &#8220;Mozilla\/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&#8221;\u00a0<span style=\"color: #ff0000;\">mod_gzip: OK In:983469 Out:171765:83pct.<\/span><\/blockquote>\n<p style=\"color: #555555;\">\uc704\uc640 \uac19\uc774 983KB\ub098 \ub418\ub294 Text\ud30c\uc77c\uc744 \ubb34\ub824 171KB\uae4c\uc9c0 \uc555\ucd95\ud574\uc11c \ubcf4\ub0c8\ub2e4.<br \/>\nHTTP\/1.1 \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\ub3c4 \ud655\uc778\ud560 \uc218 \uc788\ub2e4.<\/p>\n<h3 style=\"font-weight: bolder;\">5. \uc815\ub9ac\ud558\uae30<\/h3>\n<p style=\"color: #555555;\">\ub300\uc6a9\ub7c9\uc758 XML\ub4f1\uc758 Text\ubb38\uc11c\ub97c \uc790\uc8fc \ubcf4\ub0b4\uc57c\ud558\ub294 \uacbd\uc6b0 \ubd84\uba85 \ub124\ud2b8\uc6cc\ud06c \ud2b8\ub798\ud53d \ubb38\uc81c\uc640 \uae34 \uc804\uc1a1\uc2dc\uac04 \ubb38\uc81c\uac00 \ub41c\ub2e4. \uc774 \ubb38\uc81c\ub294 Apache\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 gzip\uc744 \uc774\uc6a9\ud558\uba74 80~90%\uc774\uc0c1\uc758 \uc555\ucd95\ud30c\uc77c\ub85c \ub370\uc774\ud0c0\ub97c \uc804\uc1a1\ud560 \uc218 \uc788\uae30 \ub54c\ubb38\uc5d0 \ud2b8\ub798\ud53d\uacfc \uc804\uc1a1\uc2dc\uac04\uc744 \uae09\uaca9\ud788 \uc904\uc774\ub294 \ud6a8\uacfc\ub97c \uac00\uc9c8 \uc218 \uc788\ub2e4. \uc6a9\ub7c9\uc774 \uc791\uc740 Text\ubb38\uc11c\uc5d0\ub294 \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub294 \ud3b8\uc774 \uc624\ud788\ub824 \uc88b\uc73c\uba70 \uc774\ubbf8 \uc555\ucd95\ub41c JPG\ud30c\uc77c\uacfc \uac19\uc740 \uacbd\uc6b0\uc5d0\ub294 \uc555\ucd95\ud560 \ud544\uc694\uac00 \uc5c6\ub2e4.<\/p>\n<h3 style=\"font-weight: bolder;\">6. \ucc38\uace0\uc0ac\uc774\ud2b8<\/h3>\n<p style=\"color: #555555;\">\ud638\uc2a4\ud305 \uc0ac\uc774\ud2b8\uc5d0\uc11c gzip \uc555\ucd95 \uc0ac\uc6a9\ud558\uae30 :\u00a0<a style=\"color: #2970a6;\" href=\"http:\/\/qaos.com\/article.php?sid=1684\">http:\/\/qaos.com\/article.php?sid=1684<\/a><br \/>\nmod-gzip \ub2e4\uc6b4\ub85c\ub4dc :\u00a0<a style=\"color: #2970a6;\" href=\"http:\/\/sourceforge.net\/projects\/mod-gzip\/\">http:\/\/sourceforge.net\/projects\/mod-gzip\/<\/a><br \/>\nHTTP\/1.1\uc5d0 \ub300\ud55c \ubb38\uc11c :\u00a0<a style=\"color: #2970a6;\" href=\"ftp:\/\/ftp.nordu.net\/rfc\/rfc2616.txt\">ftp:\/\/ftp.nordu.net\/rfc\/rfc2616.txt<\/a><br \/>\nDescription of all mod_gzip status codes :\u00a0<a style=\"color: #2970a6;\" href=\"http:\/\/www.schroepl.net\/projekte\/mod_gzip\/status.htm\">http:\/\/www.schroepl.net\/projekte\/mod_gzip\/status.htm<\/a><br \/>\nmod_gzip \ubaa8\ub4c8 \uc124\uce58 \ubc29\ubc95\u00a0<a style=\"color: #2970a6;\" href=\"http:\/\/tong.nate.com\/my_ju117\/25190834\">http:\/\/tong.nate.com\/my_ju117\/25190834<\/a><\/p>\n<p>\uae00\uc4f4\uc774 : \uc9c0\ub3cc\uc2a4\ud0c0 (<a style=\"color: #2970a6;\" href=\"http:\/\/blog.jidolstar.com\/147\">http:\/\/blog.jidolstar.com\/147<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>XML, JSON \ubc29\uc2dd\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud560 \ub54c \uadf8 \ud06c\uae30\uac00 1MB\uc774\uc0c1 \ub418\uba74 \uc804\uc1a1\uc2dc\uac04\uc774 \uc0c1\ub2f9\ud788 \ub9ce\uc774 \uac78\ub9ac\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4. \ub370\uc774\ud0c0 \ub7c9\uc774 \ub9ce\uc73c\uba74 \ud2b8\ub798\ud53d\uc774 \ub298\uc5b4\ub098\uace0 \ud2b9\ubcc4\ud788 \uc6f9\ud638\uc2a4\ud305\uc744 \ubc1b\ub294 \uc0ac\ub78c\ub4e4\uc5d0\uac8c\ub294 \ud2b8\ub798\ud53d\ub7c9\uc774 \ubc14\ub85c \uae08\uc804\uc801\uc778 \ubb38\uc81c\uc640 \uc5f0\uad00\uc774 \ub41c\ub2e4. \uc774 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub098\ub294 Apache\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 gzip\uc744 \uc774\uc6a9\ud588\ub2e4. \ubb38\uc11c\ud30c\uc77c\uc740 Text\ud615\ud0dc\uc774\uae30 \uc555\ucd95\ud560 \uacbd\uc6b0 80%~90%\uc774\uc0c1\uc758 \uc555\ucd95\ub960\uc744 \ubcf4\uc778\ub2e4. \uc555\ucd95\ud574\uc11c \ub370\uc774\ud0c0\ub97c \ubcf4\ub0b4\uac8c \ub418\uba74 \ub370\uc774\ud130 \uc804\uc1a1\uc2dc\uac04\ub3c4 \uc904\uaca0\uc9c0\ub9cc \ub124\ud2b8\uc6cc\ud06c \ud2b8\ub798\ud53d\ub3c4 \uc904\uc5b4\ub4e4\uc5b4 \uc77c\uc11d\uc774\uc870\uc758 \ud6a8\uacfc\ub97c \ubcf8\ub2e4. \ucc38\uace0\ub85c gzip\uc740\u00a0HTTP\/1.1\uc5d0\uc11c\ub9cc \ub3d9\uc791\uc774 \uac00\ub2a5\ud558\ub2e4. \uc65c\ub0d0\ud558\uba74 HTTP\/1.0\uc5d0\uc11c\ub294 gzip encoding\uc774 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc774\ub2e4. \uc5ec\uae30\uc11c \ub098\uc624\ub294 \uc608\uc2dc\ub294 \uc6f9\ud638\uc2a4\ud305\uc744 \ubc1b\ub294 \uc0ac\ub78c\ub4e4\uc5d0\uac8c \ud574\ub2f9\ub418\uc9c0 \uc54a\ub294\ub2e4. \uc6f9\ud638\uc2a4\ud305\ubc1b\uc740 \uc0ac\ub78c\uc740 \uc65c\ub0d0\ud558\uba74 \uc11c\ubc84\uc790\uccb4\uc758 \uc124\uc815\uc744 \ubc14\uafc0 \uc218 \uc788\ub294 \uad8c\ud55c\uc774 \uc5c6\uae30 \ub54c\ubb38\uc774\ub2e4. \ud558\uc9c0\ub9cc PHP\ub97c \uc0ac\uc6a9\ud558\ub294 \uc0ac\ub78c\uc911 \ud2b8\ub798\ud53d\ubb38\uc81c\ub85c \uace0\ubbfc\ud558\ub294 \uc0ac\ub78c\uc740 \ud638\uc2a4\ud305 \uc0ac\uc774\ud2b8\uc5d0\uc11c gzip \uc555\ucd95 \uc0ac\uc6a9\ud558\uae30(http:\/\/qaos.com\/article.php?sid=1684)\u00a0\ubb38\uc11c\ub97c \ucc38\uace0\ud558\uae30 \ubc14\ub780\ub2e4. \uc774 \ubb38\uc11c\uc5d0\uc11c\ub294 PHP\uc5d0\uc11c \uc9c0\uc6d0\ud558\ub294 gzip\uc744 \uc774\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc555\ucd95\ud574\uc11c \uc804\uc1a1\ud558\ub294 \ubc29\ubc95\uc744 \uc4f0\uace0 \uc788\ub2e4. 1. gzip \uc124\uce58 \ub098\ub294 \uc548\ub155\ub9ac\ub205\uc2a4\ub97c \uc4f0\uae30 \ub54c\ubb38\uc5d0 \ud328\ud0a4\uc9c0\ucd94\uac00 \uae30\ub2a5\uc744 \uc774\uc6a9\ud558\uc5ec \uc27d\uac8c Apache\uc5d0\uc11c \uad6c\ub3d9\ub418\ub294 mod_gzip\uc744 \uc124\uce58\ud560 \uc218 \uc788\uc5c8\ub2e4. \ub9cc\uc57d \ub2e4\ub978 \ub9ac\ub205\uc2a4\ub97c \uc4f4\ub2e4\uba74 \uc790\uccb4 \ud328\ud0a4\uc9c0\ucd94\uac00 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uac70\ub098\u00a0http:\/\/sourceforge.net\/projects\/mod-gzip\/\uc5d0\uc11c \ub2e4\uc6b4\ubc1b\uc544 \uc124\uce58\ud558\uae30 \ubc14\ub780\ub2e4. \uc548\ub155\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uba85\ub839\uc744 \ud1b5\ud574 gzip\uc744 \uc124\uce58\ud560 \uc218 \uc788\ub2e4. #pkgadd apache-gzip 2. gzip \uc124\uc815\ubcc0\uacbd gzip\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc548\ub155\ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 apache gzip \uc124\uc815\ud30c\uc77c\uc744 vi \uc5d0\ub514\ud130\ub85c \uc5f0\ub2e4. vi \/etc\/httpd\/conf\/module.d\/gzip.conf &nbsp; gzip.conf\u00a0(Language : xml) &lt;IfModule\u00a0mod_gzip.c&gt; # \uc774 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc0c1\ub2e8\uc758 # gzip_module \ubaa8\ub4c8\uc744 \ud65c\uc131\ud654 \uc2dc\ucf1c\uc57c \ud55c\ub2e4. &lt;IfModule\u00a0mod_log_config.c&gt; # gzip \uc555\ucd95\uc5d0 \ub300\ud55c \ub85c\uadf8 # LogFormat &#8220;%h %l %u [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[26],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-1L","jetpack-related-posts":[{"id":111,"url":"https:\/\/blog.box.kr\/?p=111","url_meta":{"origin":109,"position":0},"title":"Apache mod_rewrite\ub97c \uc774\uc6a9\ud55c \uc6f9\ud398\uc774\uc9c0 \ub9ac\ub274\uc5bc \uc0ac\ub840 \uc18c\uac1c","date":"2014-06-13","format":false,"excerpt":"Flex \ud55c\uae00\ubb38\uc11c \uc6f9\ud398\uc774\uc9c0(http:\/\/flexdocs.kr)\ub294 frame\ubc29\uc2dd\uc73c\ub85c \uc6b4\uc601\ud558\uace0 \uc788\uc5c8\ub2e4. frame\ubc29\uc2dd\uc73c\ub85c \uad6c\uc131\ub41c \uc6f9\uc0ac\uc774\ud2b8\ub294 \uc5ec\ub7ec\uac00\uc9c0 \ubb38\uc81c\uc810\uc744 \uac00\uc9c4\ub2e4. (\uadf8 \ubb38\uc81c\ub294 \uc544\ub798\uc5d0 \ub354 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\ub2e4.) \uc5ec\ub7ec \ubb38\uc81c\uc810\uc774 \uc788\ub294 frame\ubc29\uc2dd\uc744 \uad73\uc774 \uc6b4\uc601\ud588\ub358 \uc774\uc720\ub294 \uae30\uc874\uc5d0 3003\uac1c\ub098 \ub418\ub294 \ubb38\uc11c\ub97c \uc804\ubd80 \uc218\uc815\ud558\ub294 \uac83\uc740 \uc57d\uac04 \ubb34\ub9ac\uac00 \uc788\uc744 \ubfd0 \uc544\ub2c8\ub77c \uae30\uc874 \ubb38\uc11c URL\uc774 \uad6c\uae00\ub4f1\uacfc \uac19\uc740 \uac80\uc0c9\uc5d4\uc9c4\uc5d0 \ub4f1\ub85d\ub418\uc5b4 \uc788\uc5c8\uae30 \ub54c\ubb38\uc774\ub2e4. \uadf8\ub7ec\ub098 apache\uc758\u00a0rewrite \ubaa8\ub4c8\uc744 \uc774\uc6a9\ud574\u2026","rel":"","context":"In &quot;Webserver&quot;","img":{"alt_text":"\u00ec\u0082\u00ac\u00ec\u009a\u00a9\u00ec\u009e\u0090 \u00ec\u0082\u00bd\u00ec\u009e\u0085 \u00ec\u009d\u00b4\u00eb\u00af\u00b8\u00ec\u00a7\u0080","src":"http:\/\/cfile26.uf.tistory.com\/image\/12598A2A4ADC2D5080E3AE","width":350,"height":200},"classes":[]},{"id":362,"url":"https:\/\/blog.box.kr\/?p=362","url_meta":{"origin":109,"position":1},"title":"[\ud38c]Trello \uc544\ud0a4\ud14d\ucc98","date":"2014-09-15","format":false,"excerpt":"Trello \uc544\ud0a4\ud14d\ucc98 CoffeeScript Trello\uc758 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \ubaa8\ub450 \uc21c\uc218 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub85c \uc2dc\uc791\ub418\uc5c8\uace0, 2011\ub144 5\uc6d4\uae4c\uc9c0\ub294 \uc801\uc5b4\ub3c4 \uadf8\ub807\uac8c \uc720\uc9c0\ub418\uc5c8\ub294\ub370 \uadf8 \uc774\ud6c4\ubd80\ud130 CoffeeScript\ub97c \uc5bc\ub9c8\ub098 \uc88b\uc544\ud558\ub294\uc9c0 \ubcf4\uae30 \uc704\ud574\uc11c CoffeeScript\ub85c \uc774\uc911\uc73c\ub85c \uac1c\ubc1c\ud574 \ud3ec\ud305\ud558\uae30 \uc2dc\uc791\ud588\ub2e4. \uadf8 \ud6c4 \uc6b0\ub9ac\ub294 CoffeeScript\ub97c \uc0ac\ub791\ud568\uc744 \ud655\uc778\ud588\uace0 \uace7, \ub098\uba38\uc9c0 \ubaa8\ub450\uc758 \ucf54\ub4dc\ub3c4 CoffeeScript\ub85c \uc804\ud658\uc744 \uc644\ub8cc\ud588\ub2e4.\u00a0 CoffeeScript\ub294 JavaScript\ub97c \uc77d\uc744 \uc218 \uc788\ub294 \ucef4\ud30c\uc77c \uc5b8\uc5b4\uc774\ub2e4. \uc6b0\ub9ac\uac00 \uc2dc\uc791\ud588\uc744\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":122,"url":"https:\/\/blog.box.kr\/?p=122","url_meta":{"origin":109,"position":2},"title":"Maven\uc744 \ub118\uc5b4 Gradle\ub85c \uac00\uc790","date":"2014-06-23","format":false,"excerpt":"Maven\uc744 \ub118\uc5b4 Gradle\ub85c \uac00\uc790.\u00a0\ud504\ub85c\uadf8\ub798\ubc0d by\u00a0\uad8c\ub0a8 2012\/10\/14 21:33 kwon37xi.egloos.com\/4747016 \ub367\uae00\uc218 :\u00a029 Maven\uc744 \uc368 \ubcf8 \uc0ac\ub78c\ub4e4\uc740 \ub300\ubd80\ubd84 \ub290\ub07c\ub9ac\ub77c \uc0dd\uac01\ud558\uc9c0\ub9cc \ub9e4\uc6b0 \uacbd\uc9c1\ub3fc \uc788\uace0 \uadf8\ub85c\uc778\ud574 \ubb34\uc5b8\uac00 Maven\uc774 \uae30\ubcf8 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\ub294 \ube4c\ub4dc \uacfc\uc815\uc744 \ucd94\uac00\ud574\uc57c \ud560 \uacbd\uc6b0 \uace0\uc0dd\uc774 \uc774\ub9cc \uc800\ub9cc\uc774 \uc544\ub2c8\ub2e4. \uc774\uc5d0, \uc694\uc998 Maven \ub300\ud55c \ub300\uc548\uc774 \ub9ce\uc774 \ub098\uc624\uace0 \uc788\uc73c\uba70 \uadf8 \uc911 \uac00\uc7a5 \ub3cb\ubcf4\uc774\ub294 \uac83\uc774\u00a0Gradle(Groovy\u00a0\uae30\ubc18)\uc774 \uc544\ub2cc\uac00 \uc2f6\ub2e4.\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":722,"url":"https:\/\/blog.box.kr\/?p=722","url_meta":{"origin":109,"position":3},"title":"[\ud38c]Maven\uc744 \ub118\uc5b4 Gradle\ub85c \uac00\uc790.","date":"2015-04-15","format":false,"excerpt":"http:\/\/kwon37xi.egloos.com\/4747016 \u00a0 Maven\uc744 \uc368 \ubcf8 \uc0ac\ub78c\ub4e4\uc740 \ub300\ubd80\ubd84 \ub290\ub07c\ub9ac\ub77c \uc0dd\uac01\ud558\uc9c0\ub9cc \ub9e4\uc6b0 \uacbd\uc9c1\ub3fc \uc788\uace0 \uadf8\ub85c\uc778\ud574 \ubb34\uc5b8\uac00 Maven\uc774 \uae30\ubcf8 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\ub294 \ube4c\ub4dc \uacfc\uc815\uc744 \ucd94\uac00\ud574\uc57c \ud560 \uacbd\uc6b0 \uace0\uc0dd\uc774 \uc774\ub9cc \uc800\ub9cc\uc774 \uc544\ub2c8\ub2e4. \uc774\uc5d0, \uc694\uc998 Maven \ub300\ud55c \ub300\uc548\uc774 \ub9ce\uc774 \ub098\uc624\uace0 \uc788\uc73c\uba70 \uadf8 \uc911 \uac00\uc7a5 \ub3cb\ubcf4\uc774\ub294 \uac83\uc774 Gradle(Groovy \uae30\ubc18)\uc774 \uc544\ub2cc\uac00 \uc2f6\ub2e4. \uadf8\ub798\uc11c \ucc28\uae30 \ud504\ub85c\uc81d\ud2b8\uc758 \ube4c\ub4dc \ud234\ub85c Gradle\uc744\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":379,"url":"https:\/\/blog.box.kr\/?p=379","url_meta":{"origin":109,"position":4},"title":"[\ud38c]\ube60\ub974\uac8c \ud6dd\uc5b4 \ubcf4\ub294 node.js","date":"2014-09-15","format":false,"excerpt":"http:\/\/bcho.tistory.com\/889 \ube60\ub974\uac8c \ud6dd\uc5b4 \ubcf4\ub294 node.js - #6 MongoDB \uc5f0\ub3d9 (mongo-native) \ud074\ub77c\uc6b0\ub4dc \ucef4\ud4e8\ud305 & NoSQL\/Vert.x & Node.js\u00a0|\u00a02014\/04\/03 23:49\u00a0|\u00a0Posted by\u00a0\uc870\ub300\ud611 \ube60\ub974\uac8c \ud6dd\uc5b4\ubcf4\ub294\u00a0node.js #6- mongo-native \ubaa8\ub4c8\uc744 \uc774\uc6a9\ud55c MongoDB \uc5f0\ub3d9 \uc870\ub300\ud611\u00a0(http:\/\/bcho.tistory.com Persistence\u00a0\uc5f0\ub3d9 node.js\ub294\u00a0DB\ub098\u00a0NoSQL\ub4f1\uc758 \uc5f0\ub3d9\uc744 \uc9c0\uc6d0\ud558\ub294\ub370,\u00a0\uc774 \uc5ed\uc2dc \ucca0\uc800\ud558\uac8c\u00a0non-blocking io\u00a0\ubc29\uc2dd\uc73c\ub85c \ub3d9\uc791\ud55c\ub2e4.\u00a0\uc989\u00a0db\u00a0\uc5f0\uacb0\u00a0socket\uc744 \uc5f4\uc5b4\uc11c\u00a0query\ub97c \ub358\uc838\ub193\uace0, query\u00a0\uacb0\uacfc\uac00 \uc624\uba74 \uc774\ubca4\ud2b8\ub97c \ubc1b\uc544\uc11c\u00a0callback\u00a0\ud568\uc218\ub85c \ucc98\ub9ac\ud558\ub294 \uc21c\uc11c\uc774\ub2e4. \uadf8\ub7ec\uba74 \uc5ec\uae30\uc11c\ub294 \uba87\uac00\uc9c0\u00a0persistence\u00a0\uc5f0\ub3d9 \ubc29\uc2dd\uc5d0 \ub300\ud574\uc11c \uc54c\uc544\ubcf4\ub3c4\ub85d \ud55c\ub2e4.\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":375,"url":"https:\/\/blog.box.kr\/?p=375","url_meta":{"origin":109,"position":5},"title":"spring mybatis @Repository","date":"2014-09-15","format":false,"excerpt":"\u00a0 http:\/\/blog.naver.com\/PostView.nhn?blogId=vikong&logNo=60180414100 application-context.xml \u00a0 1) @Respository \ub85c DAO scanning \ubc0f bean \uc124\uc815 \ubb38\uc7a5 <context:component-scan base-package=\"trust.repository\" use-default-filters=\"false\"> <context:include-filter type=\"annotation\" expression=\"org.springframework.stereotype.Repository\" \/> <\/context:component-scan> \u00a0 2) @Transactional \uc744 \uc704\ud55c \uc124\uc815 \ubb38\uc7a5 <!-- enable the configuration of transactional behavior based on annotations --> <tx:annotation-driven transaction-manager=\"txManager\" proxy-target-class=\"true\"\/> \u00a0 <!-- a PlatformTransactionManager is still required -->\u2026","rel":"","context":"In &quot;\ucc38\uace0\ub97c \uc704\ud55c \uc800\uc7a5\ubb3c&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/109"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}