• 13-02-2016, 22:17:43
    #1
    Merhaba arkadaşlar,

    sitemde kullandığım yaklaşık 4 CSS 3 de JS dosyası var. Bunları tarayıcıyla ön belleğe almak istiyorum nasıl yapabilirim acaba?
  • 15-02-2016, 17:53:10
    #2
    Bir kişi dahi bir şey bilmiyor mu şu konuda?
  • 15-02-2016, 18:03:18
    #3
    htaccess ile yapılabilir belki ama detayları bilmiyorum. takipteyim
  • 15-02-2016, 21:29:44
    #4
    ahmetcem96 adlı üyeden alıntı: mesajı görüntüle
    htaccess ile yapılabilir belki ama detayları bilmiyorum. takipteyim
    .htaccess ile denedim başarılı olmadı hocam
  • 15-02-2016, 22:09:58
    #5
    Aranan Kelime: htaccess browser cache
    Kaynak: https://www.siteground.com/kb/leverage-browser-caching/

    .htaccess dosyanıza eklemeniz gereken betik;
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType application/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##