Aktifkan terlebih dahulu Redis/Memcached pada hosting
- Login ke cPanel
- Masuk ke menu Select PHP Versions -> Pilih versi PHP yang dipakai.
Gulir kebawah, kemudian Enable module Redis atau Memcached. Kalau saya hanya mengaktifkan Redis. Lalu klik Save.
[caption id="attachment_6612" align="aligncenter" width="884"] Redis[/caption]
2. Setting Plugin Litespeed Cache
[caption id="attachment_6613" align="aligncenter" width="1162"] Litespeed[/caption]
Enable LiteSpeed Cache: Enable
Default Public Cache TTL: Default
Default Private Cache TTL: Default
Default Front Page TTL: Default
Default Feed TTL: Default
Default 404 Page TTL: Default
Default 403 Page TTL: Default
Default 500 Page TTL: Default
Automatically Upgrade: Default
[caption id="attachment_6614" align="aligncenter" width="860"] Litespeedcache[/caption]
Cache Logged-in Users: OFF
Cache Commenters: ON
Cache REST API: ON
Cache Login Page: ON
Cache favicon.ico: ON
Cache PHP Resources: ON
Cache Mobile: OFF
[caption id="attachment_6615" align="aligncenter" width="868"] Litespeedpurge[/caption]
Purge All On Upgrade: Default
Auto Purge Rules For Publish/Update: Default
Scheduled Purge URLs: Default
Scheduled Purge Time: Default
[caption id="attachment_6616" align="aligncenter" width="875"] Litespeedoptimize[/caption]
CSS Minify: ON
CSS Combine: ON
CSS HTTP/2 Push: ON
JS Minify: ON
JS Combine: ON
JS HTTP/2 Push: ON
CSS/JS Cache TTL: 604800 (rekomendasi value)
HTML Minify: ON
Inline CSS Minify: ON
Inline JS Minify: ON
Load CSS Asynchronously: OFF
Generate Critical CSS: OFF
Generate Critical CSS In Background: OFF
Separate CCSS Cache Post Types: Kosongkan
Separate CCSS Cache URIs: Kosongkan
Inline CSS Async Lib: ON
Load JS Deferred: ON
Exclude JQuery: ON
Remove Comments: OFF
[caption id="attachment_6617" align="aligncenter" width="867"] Litespeedtuning[/caption]
Combined CSS Priority: ON
Combined JS Priority: ON
Remove Query Strings: ON
Load Google Fonts Asynchronously: ON
Remove Google Fonts: OFF
Remove WordPress Emoji: ON
[caption id="attachment_6618" align="aligncenter" width="863"] Litespeedmedia[/caption]
Lazy Load Images: ON
Responsive Placeholder: ON
Generate Reponsive Placeholder In Background: ON
Lazy Load Iframes: ON
Inline Lazy Load Images Library: ON
Optimize Automatically: ON
Optimization Cron: ON
Optimize Original Images: ON
Remove Original Backups: OFF
Optimize WebP Versions: ON
Optimize Losslessly: ON
Preserve EXIF/XMP data: ON
Image WebP Replacement: ON
WebP For Extra srcset: ON
[caption id="attachment_6619" align="aligncenter" width="867"] Litespeedcdn[/caption]
Enable CDN: ON
CDN Mapping: Isi dengan URL CDN, misalnya https://i2.wp.com/sake-xp.com/
Include Image: ON
Include CSS: OFF
Include JS: OFF
Load JQuery Remotely: OFF
Quic Cloud API: OFF
[caption id="attachment_6620" align="aligncenter" width="880"] Litespeedadvanced[/caption]
Object Cache: ON
Method: Redis
Host: localhost
Port: Default
Default Object Lifetime: Default
Persistent Connection: ON
Persistent Connection: ON
Cache Wp-Admin: ON
Browser Cache: ON
Improve HTTP/HTTPS Compatibility: Default
Instant Click: OFF
Namun perlu di ingat, LiteSpeed Web Server kamu harus benar – benar teliti dalam memilih layanan hosting yang akan kamu gunakan. Artinya, pilihlah layanan hosting yang menggunakan web server LiteSpeed. Kombinasi LiteSpeed Web Server dengan plugin LiteSpeed Cache akan membuat perfoma website kamu semakin luar biasa.
{ 0 komentar to : Cara Setting Plugin LiteSpeed Cache Dengan Efektif | Skip to Comment }
Posting Komentar