htaccess ile gzip desteği - gzip with htaccess

şimdi size burada vereceğim kodla htaccess dosyanızla hiçbir php dosyasına dokanmadan gzip desteğini açabilirsiniz..
within the code i’ll give you here, you can enable gzip support with haccess.

bu kodu serverınızın ana klasöründeki .htaccess dosyasına atın,
add this code into your web server’s .htaccess file

    # preserve bandwidth for PHP enabled servers
    <ifmodule mod_php4.c>
    php_value zlib.output_compression 16386

    php_flag zlib.output_compression On
    php_value zlib.output_compression_level 1

eğer htaccess dosyası yoksa bir text dosyası yaratın .htaccess dosya adı ile ve atın yeterli ;)

Share/Save

0 Responses to “htaccess ile gzip desteği - gzip with htaccess”


  1. No Comments

Leave a Reply