웹 및 클래식 호스팅 도움말

Enabling mod_deflate with Your Hosting Account

Mod_deflate is an Apache Web server module installed on all of our Linux hosting accounts by default. For more information, see What is mod_deflate?

Mod_deflate compresses content returned from your hosting account using the gzip compression algorithm. You should only use mod_deflate on text, such as HTML, CSS, JavaScript, and XML. Multimedia files are often already compressed; using mod_deflate on these types of files does nothing and can result in slower page-load times.

If you want to use mod_deflate, you need to know what kind of hosting account you have. For more information, see What type of hosting account do I have?

Web Hosting

Our Linux Web Hosting hosting accounts have mod_deflate enabled by default. This compresses all text type files requested from it. You can disable mod_deflate on a per-directory basis and it applies recursively. You can place the following in a .htaccess file to disable mod_deflate:

SetEnvIf Request_URI .* no-gzip=1

Classic

Our Classic Hosting accounts do not enable mod_deflate at the global level, but you can enable it in your .htaccess file. You can enable it on a per-directory basis and it applies recursively. You can place the following in a .htaccess file to enable mod_deflate for text and javascript MIME types:

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

For more information, see:


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.