Forum'un tarayıcı yükleme süresini kontrol ettirdiğimde 8-11sn arası bir değer çıkıyor. Bu ortalama bir değer olsa gerek zira anasayfa'ya girmeye çalıştığımz zaman 2sn gibi bir sürede açılıyor. Bu arada site https://vizordenbak.com/phpbb/
Sitenin yükleme hızı ile ilgili çözüm önerisi olarak da .htaccess dosyasına Expires Caching kodu eklenmesi hususuna değinilmiş.
Şimdi konu .htaccess dosyası olunca, bilip bilmeden, internetten bulduğum herhangi bir kodu yapıştırmak istemedim içine.
Bu konuda bilginiz varsa yardımcı olabilir misiniz lütfen?
.htaccess içeriğim şu şekilde;
Kod: Tümünü seç
RewriteEngine on
RewriteCond %{HTTP_HOST} ^vizordenbak\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.vizordenbak\.com$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/vizordenbak\.com\/phpbb\/" [R=301,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Kod: Tümünü seç
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
## EXPIRES CACHING ##
# compress text, HTML, JavaScript, CSS, and XML
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