W3 Total Cache - What caching method is best?


Ivan_I
 Share

Recommended Posts

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

Link to comment
Share on other sites

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...
 Share