Kıbrıs - Girne
0

W3 Total Cache Nedir, Kurulumu ve En İyi Ayarları

W3 Total Cache Nedir, Kurulumu ve En İyi Ayarları

Kullandığınız WordPress sitenizde içerik ve ziyaretçi sayısı yoğunlaştıkça sitenin yavaşlaması kaçınılmaz oluyor. İyi bir sunucuya sahip olsanız da web sitesini hızlandırmak için eklenti kurmanızı tavsiye ederiz. Site hızlandırmak için en popüler iki eklenti vardır. Bunlardan birisi Automattic ürünü olan WP Super Cache diğeri ise Frederick Townes tarafından yazılmış olan ve bizim bahsettiğimiz W3 Total Cache.

WordPress gibi web sayfalarında etiketyorumyazı gibi çok fazla seçenek vardır. Bunlar yoğunlaştıkça web sitenin performansı düşmeye başlar. İşte bu noktada W3 Total Cache devreye girerek dinamik yapıyı statik hale çevirir ve web sitenizin performansını oldukça yukarıya çeker.

W3 Total Cache eklentisini “Eklentiler / Yeni Ekle” kısmından yükleyerek aktif edebilirsiniz veya manuel olarak kurmak istiyorsanız buradan eklentiyi indirip ftp’den yükleyebilirsiniz.

1. W3TC General Ayarları

Page Cache – Enabled
Page Cache Method – Disk Enhanced
Minify – Enable
Minify Mode – Manual
Minify Cache Method – Disk
Database Cache – Enabled
Database Cache Method- Disk
Object Cache – Enable
Object Cache Method – Disk
Browser Cache – Enable
CDN – Enable if you are using a CDN service else Disable
Varnish – Disable
Network Performance by Cloudfare – Enable if you use Cloudfare else Disable

2. W3TC Page Cache Ayarları

Page Cache – General

Cache Front page – Check
Cache feeds: site, categories, tags, comments – Check (Blogs running Feedburner – Uncheck)
Cache SSL (https) requests – Check
Cache URIs with query string variables – Uncheck
Cache 404 (not found) pages – Uncheck
Cache requests only for yoursite.com hostname – Check
Don’t cache pages for logged in users – Check
Don’t cache pages for following user roles – As per your choice

Page Cache – Cache Preload

Automatically Prime the Page Cache – Checked
Update Interval – 900
Pages per interval – 10
Sitemap URL – URL of your blog’s xml sitemap.

Page Cache – Purge Policy

Hiçbir değişiklik yapmayın.

Page Cache – Advanced

Hiçbir değişiklik yapmayın.

3. W3TC Minify Ayarları

Minify Settings – General, HTML & XML

Rewrite URL structure – Check
Minify Settings – HTML and XML
Enable – Check
Inline CSS minification – Check
Inline JS minification – Check
Don’t minify feeds – Check
Line break removal – Uncheck

Minify Settings – JS & CSS

JS minify settings – Check
Operation in area – Minify
Embed Type – Non-blocking using JS
All other options – Uncheck
CSS minify settings – Enable
Combine only – Disable
Preserved comment removal – Disable
Line break removal – Enable
@import Handling – Process

Minify Settings – Advanced

Hiçbir değişiklik yapmayın.

4. W3TC Database Cache

Hiçbir değişiklik yapmayın.

5. W3TC Object Cache

Hiçbir değişiklik yapmayın.

6. W3TC Browser Cache

Browser Cache – General Settings

Set Last-Modified header – Check
Set expires header – Check
Set cache control header – Check
Set entity tag (eTag) – Uncheck
Set W3 Total Cache header – Check
Enable HTTP (gzip) compression – Check
Prevent caching of objects after settings change – Uncheck
Disable cookies for static files – Uncheck
Do not process 404 errors – Uncheck

Browser Cache – CSS & JS

Set Last-Modified header – Check
Set expires header – Check
Expires header lifetime – 31536000 seconds
Set cache control header – Check
Cache Control Policy: cache with max-age
Set entity tag (eTag) – Uncheck
Set W3 Total Cache header – Check
Enable HTTP (gzip) compression – Check
Prevent caching of objects after settings change – Disable
Disable cookies for static files – Check

Browser Cache – HTML and XML

Set Last-Modified header – Check
Set expires header – Check
Expires header lifetime – 3600 seconds
Set cache control header – Check
Cache Control Policy: cache with max-age
Set entity tag (eTag) – Uncheck
Set W3 Total Cache header – Check
Enable HTTP (gzip) compression – Check

Browser Cache – Media and other files

Set Last-Modified header – Check
Set expires header – Enable
Expires header lifetime – 31536000 seconds
Set cache control header – Enable
Cache Control Policy – cache with max-age
Set the entity tag (eTag) – Disable
Set W3 Total Cache header – Enable
Enable HTTP (gzip) compression – Enable

7. W3TC User Agents Group & Referer Groups

Hiçbir değişiklik yapmayın.

8. W3TC CDN

CDN kullanmıyorsanız bu bölüme dokunmayın.

Tüm ayarları tamamladığınız andan itibaren Header’da bulunan Performance veya Dashboard’da bulunan Empty All Cache seçeneğine basarak kurulumu tamamlayabilirsiniz. Ardından anasayfa üzerinde kaynağı görüntüleyin ve altta bulunan onay yazısının bulunduğundan emin olun.

Diğer İçeriklerimiz
Cevap Yazınız

E-posta hesabınız yayımlanmayacak.Zorunlu alanlar işaretlendi *