LiteSpeed Cache for XF2 - Community

xF2 Add-on LiteSpeed Cache for XF2 - Community 2.3.0

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

LQD submitted a new resource:

LiteSpeed Cache for XF2 - Community - Quickly and easily implement high-performance page caching on your XenForo forum

Developed by LiteSpeed Technologies - the LiteSpeed Cache Plugin for XenForo 2 (LSCXF2) is a PHP-based plugin that communicates with your installation of LiteSpeed Web Server(LSWS) and its built-in page cache, LSCache. Because LSCache is built directly into LSWS, overhead is significantly reduced and caching can be done more efficiently than with other PHP-based caches.

The current community version of LSCXF2 will only cache and serve pages for non-logged in users. After a user has logged...

Read more about this resource...
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

ENXF NET updated LiteSpeed Cache for XF2 - Community with a new update entry:

LiteSpeed Cache for XF2 Community - 2.2.0

[Improvement] Improved login state detection to prevent forum members who sign in with "Stay logged in" unchecked from being served by cache. (Rewrite rule update required)
[Improvement] No longer cache "install" pages. (Rewrite rule update required)
[Improvement] Improved return code checking to prevent caching non HTTP status 200 and 404 pages. (500 errors may still run into issues)

Read the rest of this update entry...
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

Please wait for an update from the developer
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

micke

Collaborate
Collaborate
Registered
Joined
Sep 27, 2020
Messages
94
Points
43

Reputation:

Should I use this code?
Code:
# LiteSpeed XenForo cache

<IfModule litespeed>
CacheLookup public on
RewriteEngine On
# cache
RewriteCond %{HTTP_COOKIE} !xf_user [NC]
RewriteRule .* - [E=Cache-Control:max-age=360]
# no cache
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:vary=loggedin]
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
</IfModule>

or this code which comes from litespeedtech.com

# LiteSpeed XenForo cache
Code:
<IfModule litespeed>

    CacheLookup public on
    RewriteEngine On
    # cache
    RewriteCond %{HTTP_COOKIE} !(xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteCond %{REQUEST_URI} !/install/ [NC]
    RewriteRule .* - [E=Cache-Control:max-age=360,E="cache-vary:xf_style_id,xf_language_id"]
    # no cache
    RewriteCond %{HTTP_COOKIE} (xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteRule .* - [E=Cache-Control:vary=loggedin,E=Cache-Control:no-cache]
</IfModule>

  1. Do I have to have an account with litespeedtech.com?
  2. In that case, do I have to enter my domain address there?
  3. Do I have to enable something in the php.ini file?
 
Last edited:

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

Should I use this code?
Code:
# LiteSpeed XenForo cache

<IfModule litespeed>
CacheLookup public on
RewriteEngine On
# cache
RewriteCond %{HTTP_COOKIE} !xf_user [NC]
RewriteRule .* - [E=Cache-Control:max-age=360]
# no cache
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:vary=loggedin]
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
</IfModule>

or this code which comes from litespeedtech.com

# LiteSpeed XenForo cache
Code:
<IfModule litespeed>

    CacheLookup public on
    RewriteEngine On
    # cache
    RewriteCond %{HTTP_COOKIE} !(xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteCond %{REQUEST_URI} !/install/ [NC]
    RewriteRule .* - [E=Cache-Control:max-age=360,E="cache-vary:xf_style_id,xf_language_id"]
    # no cache
    RewriteCond %{HTTP_COOKIE} (xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
    RewriteRule .* - [E=Cache-Control:vary=loggedin,E=Cache-Control:no-cache]
</IfModule>

  1. Do I have to have an account with litespeedtech.com?
  2. In that case, do I have to enter my domain address there?
  3. Do I have to enable something in the php.ini file?
mickeFirst this addon use with litespeed webserver.

to use code from litespeedtech.com

  1. NO.
  2. NO.
  3. NO.
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
666
Points
253

Reputation:

Couldn't find any option for setting it up.
Using XF v2.2.11 hosted on LiteSpeed server, Cloudflare: connected.
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

View previous replies…

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,773
Points
823

Reputation:

ENXF NET updated LiteSpeed Cache for XF2 - Community with a new update entry:

LiteSpeed Cache Plugin for XF2 v2.3.0

[Improvement] Added "lost password confirm" as a do-not-cache page.
[Improvement] Misc code improvements.
[Bug Fix] Logged-in cookie is now cleared when a visitor is logged-out due to a session timeout.
[Bug Fix] Visitors automatically logged-in from the "forgot my password" submission page are now correctly detected as non-guest visitors.

Read the rest of this update entry...
 
Top