# Görsel Cache Ayarları
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/webp "access plus 1 year"
</IfModule>

# Cache-Control Header
<IfModule mod_headers.c>
    <FilesMatch "\.(jpg|jpeg|png|gif|webp)$">
        Header set Cache-Control "public, max-age=31536000, immutable"
    </FilesMatch>
</IfModule>

# CORS - Tüm domainlerden erişime izin ver
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

# PHP dosyalarını çalıştırma (güvenlik)
<FilesMatch "\.php$">
    Deny from all
</FilesMatch>

# Dizin listelemeyi kapat
Options -Indexes
