W3 Total Cache - What caching method is best?


Recommended Posts

Posted

Hey guys

What are best settings for caching method?

After googling I found this recommended settings:

Page Cache - Disk:Enhanced
Minify: Disk
Database Cache: APC or Memcached
Object Cache: APC or Memcached

Any suggestions?

Best regards

Posted

Page cache: disk enhanced
Minify - Disable Litespeed does this for you
Database Cache - Disable not necessary
Object cache - Disk or Memcached (once you activate Memcached in your cPanel)

Posted

Hi Tony,
Thanks for fast response
Can I use this settings for W3TC + Woocommerce + Litespeed Cache
Can there be any conflict between W3TC, Woocommerce and Litespeed Cache

W3TC
Page cache: Disk enhanced (Never cache the following pages: cart, checkout, login, register, logout, lostpassword, resetpass, my-account, your-profile, review-order, etc.)
Object cache: Memcached
Minify: Disable
Database cache: Disable

Litespeed Cache

<IfModule LiteSpeed>
CacheEnable public /
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-login.php|wp-cron.php|xmlrpc\.php|cart|checkout|login|register|logout|lostpassword|resetpass|my-account|your-profile|review-order)
RewriteCond %{HTTP_COOKIE} !(comment_author_|wordpressuser_|wp-postpass_|wordpress_logged_in_|wp_woocommerce_session_|wordpress_test_cookie)
RewriteRule .* - [E=Cache-Control:max-age=120]
</IfModule>

Thanks in advance
Best regards

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...