• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Upgrade Your Account
    Hello Guest! Upgrade your account to download all VIP Resource here

Add-ons [2.x] LiteSpeed Cache for XF2 - Community 2.1.1

No permission to download


Staff member
Dec 13, 2015
Chủ thớt
kuteboy đã đăng tài nguyên mới:

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...
Đọc thêm về tài nguyên này...


Bơ Đi Mà Sống
Staff member
Dec 11, 2015
Hướng dẫn cho anh em nào chưa biết, sau khi cài đặt xong, mở file .htaccess thêm dòng sau vào
# 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:no-cache]
Chú ý: nếu diễn đàn của bạn có thay đổi prefix của database thì cần sửa lại xf_user cho đúng với database của bạn.

Sau khi cài xong, vào trang http://www.webconfs.com/http-header-check.php để kiểm tra, bấm khoảng 2 lần nếu thấy hit như hình sau là ok


Facebook Comment

Similar threads

New posts New resources Most viewed threads Threads with more replies