Sitemde optimizasyon yapmaya çalışıyorum ama bu sorunu aşamadım.
Leverage browser caching bu sıfır görünüyor ne yaptıysam düzeltemedim.
<ifmodule mod_expires.c>
<filesmatch "\.(jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 year"
</filesmatch>
</ifmodule>
Yukarıdaki kodu ekledim htaccese ama yine değişen birşey olmadı sitem joomla bir cache eklentisi var ama bu yine aynı bunu nasıl aşarım.
Leverage browser caching Sorunu
6
●1.380
- 02-12-2016, 11:39:18bu cache apache ile ilgili, joomlayla bir ilgisi yok. şunu ekleyin htaccesse olmuyorsa, hostinginizin bir kısıtlaması olabilir veya apache de mod expires modülü yüklü değildir.
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/png A2592000
ExpiresByType image/x-icon A2592000
ExpiresByType text/css A86400
ExpiresByType text/javascript A86400
ExpiresByType application/x-shockwave-flash A2592000
#
<FilesMatch "\.(gif¦jpe?g¦png¦ico¦css¦js¦swf)$">
Header set Cache-Control "public"
</FilesMatch> - 02-12-2016, 13:17:09Yok hocam malesef olmuyor.hoo adlı üyeden alıntı: mesajı görüntüle
- 02-12-2016, 16:06:43hoo adlı üyeden alıntı: mesajı görüntüle
internetten kontrol ettim başka kodlar denedim olmadı host sağlayıcım aktif olduğunu söylüyor eklediğim kod
<IfModule mod_expires.c> ExpiresActive on ExpiresByType image/jpg "access plus 60 days" ExpiresByType image/png "access plus 60 days" ExpiresByType image/gif "access plus 60 days" ExpiresByType image/jpeg "access plus 60 days" ExpiresByType text/css "access plus 1 days" ExpiresByType image/x-icon "access plus 1 month" ExpiresByType application/pdf "access plus 1 month" ExpiresByType audio/x-wav "access plus 1 month" ExpiresByType audio/mpeg "access plus 1 month" ExpiresByType video/mpeg "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/quicktime "access plus 1 month" ExpiresByType video/x-ms-wmv "access plus 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" </IfModule>