Business News

Cara Mempercepat Loading Web WordPress

Ketahui Performa Awal

Gunakan GTMetrix

Upgrade PHP Version

Membersihkan File

Gunakan Media Cleaner.

Resize Images

Gunakan: Regenerate Thumbnail.

Bersihkan File lagi

Compress+ Decrease Images Size

Gunakan: Smush – Compress, Optimize and Lazy Load Images

Memastikan Settingan CloudFlare Tepat

Pastikan selain www. dan naked domain tidak melalui cloudFlare.

Seting Up WP Total Cache

Gunakan rujukan ini: Speed up the Customizr WordPress theme : how to setup W3 Total Cache Plugin ?.

Tambahan Setup WP Total Cache (Bag. 1)

Masukan URL berikut ini pada menu: Performance >> Page Cache >> Advance >> Never cache the following pages. Untuk menghindari Page Void. Terlebih bila Anda menggunakan plugin Ultimate Members.

  • Register Pages.
  • Login Pages.
  • Reset Password.
  • WooCommerce Shop.

Disable “Object Cache” In W3 Total Cache

Reference: Disable “Object Cache” In W3 Total Cache. Masuk ke menu: Performance >> General Setting >> Object Cache. Unchek.

Don’t cache pages for logged in users

Masuk ke: Performance >> Page Cache. Uncheck: Don’t cache pages for logged in users

 

Setup Expired Browser Cache (Memperkecil Leverage Browser Cache)

Tambahkan script ini ke dalam .htaccess. Referansi: PageSpeed: Leverage browser caching. Catatan penting: Cari dahulu kode “<IfModule mod_expires.c>”. Bila sebelum nya sudah ada konfigurasi nya, ganti konfirgurasi tersebut.

#Browser caching - Add expire headers to WordPress
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 month"
# JavaScript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>

Configurasi dengan CloudFlare

Masuk ke: Performace >> Extension. Pilih “Cloud Flare”.

Configurasi dengan Yoast SEO

Masuk ke: Performace >> Extension. Pilih “Yoast SEO”.

 

Aktifkan GZip Compression

Masukan kode ini ke dalam .htaccess

#GZip Compression
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/x-icon
AddOutputFilterByType DEFLATE text/svg+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/opentype
# For Older Browsers Which Can't Handle Compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>

 

Install Pluigin CloudFlare melalui WordPress

Plugin nya: CloudFlare | By: By John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team).

 

Hapus Database tidak terpakai

Gunakan: WP-Optimize – Clean, Compress, Cache | By: David Anderson, Ruhani Rabin, Team Updraft.

Masuk ke dalam menu: WP-Optimize >> Database:

  1. (Tab) Optimization. Centang semua jenis “Optimisation”, kemudian “Run Selected Optimisation”.
  2. (Tab) Table. Hapus table yang tidak terpakai.

 

Optional (Install Yoast SEO)

 

Lakukan Prefetch

Tambahkan kode ini ke dalam <head></head> di situs Anda.

<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="dns-prefetch" href="//ajax.googleapis.com">
<link rel="dns-prefetch" href="//www.google-analytics.com">

 

Tambahkan Limit Revision

Tambahkan kode ini ke dalam wp-config.php

/** Limit number of WordPress revisions- 5 revision **/
define('AUTOSAVE_INTERVAL', 300); // seconds
define('WP_POST_REVISIONS', 5);

 

Install Comment wpDiscuz

Plugin nya ini: Comments – wpDiscuz | By: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)

 

Hapus Plugin

  1. Media Cleaner
  2. WP-Optimize – Clean, Compress, Cache
  3. Smush
  4. Regenerate Thumbnail
Mohon bantuan nya- Artikel ini dipersembahkan oleh STAR SHARE. Jika Anda merasa terbantu dengan pengetahuan yang Anda dapatkan secara gratis ini, mohon untuk memberikan review positif (komentar, likes, share) di sosial media, menuliskan artikel review positif (di forum, blog, web, situs menulis online, dan media lain nya), atau memberikan penilaian bintang 5 di Playstore atau Apps Store tentang produk atau layanan milik STAR SHARE. Terutama STASASHI, Fellas Production, dll.

Leave a Reply

Your email address will not be published. Required fields are marked *