# GZIP Aktifleştirme

#### GZIP Nedir?

(GNU zip) bir dosya formatı, dosya sıkıştırma ve açma için kullanılan yazılım uygulamasıdır. GZIP sıkıştırması sunucu tarafında etkindir ve HTML, CSS ve JavaScript dosyalarınızın boyutunda daha fazla azalma sağlar. GZIP sıkıştırması görüntüler zaten farklı bir şekilde sıkıştırılmış olduğundan bunlar üzerinde çalışmamaktadır.

#### GZIP sistemini LeaderOS v5'e nasıl kurabilirim?

Öncelikle web hosting FTP sunucunuza bağlanıp ana dizindeki `.htaccess` dosyasını düzenle diyoruz. Daha sonra size aşağıda verdiğim kodu `.htaccess` dosyasındaki `## GZIP KODUNU BUNUN ALTINA EKLEYEBILIRSINIZ ##` yazısının altına ekliyoruz ve dosyayı kaydediyoruz.

#### Kod:

```
## GZIP ##
<IfModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_include handler ^cgi-script$
</IfModule>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://egitim.leaderos.com.tr/gzip-aktiflestirme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
