> For the complete documentation index, see [llms.txt](https://egitim.leaderos.com.tr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://egitim.leaderos.com.tr/gzip-aktiflestirme.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
