Would you recommend it on a live site?Not noticed any issues.
@lsmichael speaking of 5.0.. Any ETA yet as to when 5.0 will be avail via WHM plugin?
@Slavik Any update on users getting logged out when visiting the site again? Having a new client ( @NixFifty ) users reporting this happening. Hasn't been happening to any other clients, but saw others have reported this already. I just added XenForo_Helper_Cookie::setCookie(XenForo_Application::getOptions()->litespeedcache_cookiename, true); to global.php but no word back yet if helping. I can't reproduce this myself and from the user reports on the site, appears to be happening mostly on mobile and chrome.
Hey Mike,
Any issues with the main index page not showing the users logged when they open up their browser again? (as soon as my users click any other link, it shows them as logged in, just not on the main forum page)
This is, of course, assuming you are using this resource as well.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
# this part is for public cache.
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{HTTP_COOKIE} !loginuser
RewriteCond %{ORG_REQ_URI} !^/index.php$
RewriteCond %{ORG_REQ_URI} !^/administrator/
RewriteCond %{ORG_REQ_URI} (\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule .* - [E=Cache-Control:max-age=300,L]
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{HTTP_COOKIE} !loggedin
RewriteRule .* - [E=Cache-Control:max-age=300]
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
We already have opcache enabled. Will enabling this addon help?
Thanks! I will give a try then. How does it differ from OpCache? I don't need all technical details; just want to be aware what does it do that the opcache won't?If you site is big, with lot of guest, this litespeed cache can reduce your server load by at least 1/2 to 1/3
We use essential cookies to make this site work, and optional cookies to enhance your experience.