wmaraci reklam

Tarayıcı Önbellekleme Özelliğinden Yararlanarak Site Hızlandırma

59 Mesajlar 68.768 Okunma
pst.net
wmaraci reklam

ZehirliOdun ZehirliOdun WM Aracı Kullanıcı
  • Üyelik 01.03.2015
  • Yaş/Cinsiyet 42 / E
  • Meslek Fotoğrafçı
  • Konum İzmir
  • Ad Soyad S** Ç**
  • Mesajlar 6
  • Beğeniler 0 / 2
  • Ticaret 0, (%0)

fenomen adlı üyeden alıntı

kodun daha detaylısı .htaccess in sonuna ekleyebilirsiniz.

# Enable GZIP

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html


# Expires Headers - 2678400s = 31 days

ExpiresActive On
ExpiresDefault "access plus 2678400 seconds"
ExpiresByType text/html "access plus 7200 seconds"
ExpiresByType image/gif "access plus 2678400 seconds"
ExpiresByType image/jpeg "access plus 2678400 seconds"
ExpiresByType image/png "access plus 2678400 seconds"
ExpiresByType text/css "access plus 750000 seconds"
ExpiresByType text/javascript "access plus 2678400 seconds"
ExpiresByType application/x-javascript "access plus 2678400 seconds"


# Cache Headers

# Cache specified files for 31 days

Header set Cache-Control "max-age=2678400, public"

# Cache HTML files for a couple hours

Header set Cache-Control "max-age=7200, private, must-revalidate"

# Cache PDFs for a day

Header set Cache-Control "max-age=86400, public"

# Cache Javascripts for 31 days

Header set Cache-Control "max-age=2678400, private"



Konuyu hortlatıcam ama :D gtmetrix de tön bellekleme 42 ydi.Kodu uyguladım 83 e çıktı.Dostum emeğine ellerine kollarına sağlık.
 

 

wmaraci
reklam

webteoneno webteoneno WM Aracı Kullanıcı
  • Üyelik 03.03.2017
  • Yaş/Cinsiyet 28 / E
  • Meslek Öğrenci
  • Konum İstanbul Avrupa
  • Ad Soyad A** A**
  • Mesajlar 341
  • Beğeniler 141 / 225
  • Ticaret 3, (%100)
Sitesinde sürekli değişiklik yapan kişilere tavsiye edilmez :)
 

 

KOZMIKA KOZMIKA Kullanıcı
  • Üyelik 06.02.2016
  • Yaş/Cinsiyet 47 / E
  • Meslek Yazılımcı
  • Konum İstanbul Anadolu
  • Ad Soyad F** G**
  • Mesajlar 250
  • Beğeniler 3 / 39
  • Ticaret 7, (%100)
arkadaşlar bu kodların asp.net uyumlusu yokmu ?
 

 

flashoyun flashoyun Pagespeed Optimizator Kullanıcı
  • Üyelik 01.07.2014
  • Yaş/Cinsiyet 32 / E
  • Meslek Pagespeed Optimizator
  • Konum Samsun
  • Ad Soyad B** A**
  • Mesajlar 925
  • Beğeniler 127 / 185
  • Ticaret 20, (%100)
asp de htacces dıye bışı yok hocam ıstersenız sıte adreısnızı pm atın ınceleyıp donuş sağlıyayım
 

 

pdflawyer.blogspot.com 1 bağlantı reklamına tıkla 28 dolar kaz.....
wmaraci
Mersin evden eve nakliyat

Bedir Bedir İnanlarla Bir Gün Turanda Kullanıcı
  • Üyelik 09.07.2015
  • Yaş/Cinsiyet 33 / E
  • Meslek Bilgisayar Mühendisi
  • Konum Mersin
  • Ad Soyad B** S**
  • Mesajlar 263
  • Beğeniler 49 / 37
  • Ticaret 8, (%100)
Konuyu hortlatmak gibi olacak ama kusura bakmayın. Buradaki kodların neredeyse hepsini denedim fakat puanda bir değişiklik olmadı özellikle mobil 53 de kalıyor.
 

 

cihaneken cihaneken Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 25.07.2014
  • Yaş/Cinsiyet 30 / E
  • Meslek Elektrik Teknisyeni
  • Konum Fransa
  • Ad Soyad C** E**
  • Mesajlar 3510
  • Beğeniler 488 / 1190
  • Ticaret 1, (%100)
Bu konu hakkında yazmış olduğum iki adet makaleyi incelemenizi isterim.

WordPress Tarayıcı Önbellekleme

Pagespeed Tarayıcı Önbellekleme Özelliğinden Yararlanın
 

 

bladekardes bladekardes WM Aracı Kullanıcı
  • Üyelik 15.07.2015
  • Yaş/Cinsiyet 26 / E
  • Meslek Öğrenci
  • Konum İstanbul Avrupa
  • Ad Soyad S** Ş**
  • Mesajlar 293
  • Beğeniler 80 / 36
  • Ticaret 9, (%89)
Hocam, kodların hiçbirisi bu hatayı geçirmiyor.

 

 

tencere tencere WM Aracı Kullanıcı
  • Üyelik 16.07.2018
  • Yaş/Cinsiyet 25 / E
  • Meslek Öğrenci
  • Konum Mersin
  • Ad Soyad A** A**
  • Mesajlar 27
  • Beğeniler 14 / 2
  • Ticaret 0, (%0)
Blogger da .htaccess dosyasına nasıl erişebiliriz ? Bilgisi olan var mı ?
i
 

 

İngilizce dizi ve filmlerde kullanılan kelimelere buradan çalışılır : diziyleogren.com

Enozturk Enozturk WM Aracı Kullanıcı
  • Üyelik 18.11.2016
  • Yaş/Cinsiyet 31 / E
  • Meslek WebMaster
  • Konum İstanbul Avrupa
  • Ad Soyad E** Ö**
  • Mesajlar 131
  • Beğeniler 22 / 42
  • Ticaret 0, (%0)
Ben tarayıcı önbellekleme için .htaccess'e aşağıdaki kodları ekledim. Bu kuralları da kullanabilirsiniz.


# Leverage Browser Caching

ExpiresActive On

# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"

# Video
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"

# CSS, JavaScript
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"

# Others
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType text/html "access plus 600 seconds"

# Fonts
ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
ExpiresByType application/x-font-ttf "access plus 1 year"
ExpiresByType application/x-font-opentype "access plus 1 year"
ExpiresByType application/x-font-woff "access plus 1 year"


## EXPIRES CACHING ##


Ayrıca çeşitli tarayıcı önbellekleme işlemleri için aşağıdaki bağlantıyı da inceleyebilirsiniz.

https://www.kukumav.net/blog/htaccess-ile-tarayici-onbellekleme/
 

 

wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al