Last active
March 19, 2019 01:52
-
-
Save hendrasyp/a19ab381e4dfe07bb7c9f00227fc8494 to your computer and use it in GitHub Desktop.
Optimasi Website Menggunakan htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE text/html | |
AddOutputFilterByType DEFLATE text/xml | |
AddOutputFilterByType DEFLATE text/css | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE application/xhtml+xml | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/x-javascript | |
AddType application/vnd.ms-fontobject .eot | |
AddType font/ttf .ttf | |
AddType font/otf .otf | |
AddType application/x-font-woff .woff | |
AddType application/woff .woff | |
BrowserMatch ^Mozilla/4 gzip-only-text/html | |
BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
<FilesMatch "\.(?i:php)$"> | |
ForceType application/octet-stream | |
AddType application/x-httpd-php .php | |
SetHandler application/x-httpd-php | |
AddType application/x-httpd-php-source .phps | |
DirectoryIndex index.php index.html | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment