Linux 软件免费装
Banner图

LiteSpeed Cache

开发者 LiteSpeedTech
更新时间 2026年10月21日 02:08
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3
版权网址: 版权信息

标签

caching performance seo optimize database cleaner object cache pagespeed memcached redis image optimize

下载

5.4 5.5 3.5.0.2 3.6 3.1 3.2.2 3.2.3.1 3.2.3.2 3.3 3.3.1 3.4 3.4.1 3.4.2 3.5 3.5.0.1 3.5.2 3.6.1 3.6.2 3.6.3 3.2.4 4.1 6.2.0.1 3.5.1 4.2 6.4 6.5.0.2 6.5.1 6.5.2 7.8.1 5.0.1 5.1 5.2.1 4.4.1 4.4.3 4.4.4 4.4.5 4.5 5.0 5.0.0.1 4.3 4.4.7 5.2 3.6.4 5.3 5.5.1 4.0 4.4 4.4.2 5.6 6.3 6.4.1 5.3.2 5.3.3 5.7 5.7.0.1 6.0 6.0.0.1 6.1 1.0.15 4.4.6 5.3.1 7.2 7.6 4.5.0.1 6.2 6.3.0.1 6.5 6.5.0.1 6.5.3 6.5.4 7.0.0.1 7.6.2 7.8.0.1 7.1 7.3 7.5 7.3.0.1 7.4 7.5.0.1 7.6.1 7.7 7.8 1.9.1.1 2.9.9.2 4.6 7.0.1 7.9 7.9.1 7.9.2

详情介绍:

LiteSpeed Cache for WordPress(LSCWP)是一款一体化站点加速插件,具备独有的服务器级缓存以及一系列优化功能。 LSCWP 支持 WordPress 多站点,并与大多数热门插件兼容,包括 WooCommerce、bbPress 和 Yoast SEO。 LiteSpeed Cache for WordPress 兼容 ClassicPress。

安装:

View detailed documentation. 在非 LiteSpeed Web Server 上使用优化功能
  1. 安装并启用 LiteSpeed Cache for WordPress 插件。
  2. From the WordPress Dashboard, navigate to LiteSpeed Cache > Page Optimization. Enable the available optimization features in the various tabs.
在 LiteSpeed Web Server 上使用缓存和优化功能
  1. Install LiteSpeed Web Server Enterprise with LSCache Module, LiteSpeed Web ADC, or OpenLiteSpeed with cache module (Free). Or sign up for QUIC.cloud CDN.
  2. Install the LiteSpeed Cache for WordPress plugin and activate it.
  3. From the WordPress Dashboard, navigate to LiteSpeed Cache > Cache, make sure the option Enable LiteSpeed Cache is set to ON.
  4. 在各个标签页中启用所需的缓存和优化功能。
LiteSpeed Web Server Enterprise 注意事项 OpenLiteSpeed 注意事项

屏幕截图:

  • 管理后台 - 仪表盘
  • 管理后台 - 图片优化
  • 管理后台 - 爬虫
  • 管理设置 - 缓存
  • 后台设置 - 页面优化
  • 管理设置 - CDN
  • 管理设置 - 数据库优化器
  • 后台设置 - 工具箱
  • 缓存未命中示例
  • 缓存命中示例

常见问题:

为什么缓存功能需要 LiteSpeed 服务器?

本插件与您的 LiteSpeed Web Server 及其内置的页面缓存(LSCache)通信,为您的 WordPress 站点带来卓越的性能。插件的缓存功能会告知服务器某个页面是否可缓存以及可缓存多长时间,或者使用标签让特定的已缓存页面失效。 LSCache is a server-level cache, so it's faster than PHP-level caches. Compare with other PHP-based caches. A page cache allows the server to bypass PHP and database queries altogether. LSCache, in particular, because of its close relationship with the server, can remember things about the cache entries that other plugins cannot, and it can analyze dependencies. It can utilize tags to manage the smart purging of the cache, and it can use vary cookies to serve multiple versions of cached content based on things like mobile vs. desktop, geographic location, and currencies. See our Caching 101 blog series. If all of that sounds complicated, no need to worry. LSCWP works right out of the box with default settings that are appropriate for most sites. See the Beginner's Guide. Don't have a LiteSpeed server? Try our QUIC.cloud CDN service. It allows sites on any server (NGINX and Apache included) to experience the power of LiteSpeed caching! Click here to learn more or to give QUIC.cloud a try.

LSCache 的优化功能又如何?

LSCWP 还包含其他优化功能,例如数据库优化、CSS 和 JS 文件的压缩与合并、HTTP/2 推送、CDN 支持、浏览器缓存、对象缓存、图片延迟加载以及图片优化!这些功能无需使用 LiteSpeed Web 服务器。

LiteSpeed Cache for WordPress 插件是免费的吗?

Yes, LSCWP will always be free and open source. That said, a LiteSpeed server is required for the cache features, and there are fees associated with some LiteSpeed server editions. Some of the premium online services provided through QUIC.cloud (CDN Service, Image Optimization, Critical CSS, Low-Quality Image Placeholder, etc.) require payment at certain usage levels. You can learn more about what these services cost, and what levels of service are free, on your QUIC.cloud dashboard.

此插件需要什么服务器软件?

A LiteSpeed solution is required in order to use the LiteSpeed Exclusive features of this plugin. Any one of the following will work:

  1. 带有 LSCache 模块的 LiteSpeed Web Server Enterprise(v5.0.10+)
  2. OpenLiteSpeed (v1.4.17+)
  3. LiteSpeed WebADC (v2.0+)
  4. QUIC.cloud CDN
The General Features may be used with any web server. LiteSpeed is not required.

此插件能在集群环境中使用吗?

缓存条目存储在 LiteSpeed 服务器层级。最简单的解决方案是使用 LiteSpeed WebADC,这样缓存条目就会存储在 WebADC 这一层级。 如果使用其他负载均衡器,缓存条目将只存储在后端节点上,而不会存储在负载均衡器上。 清除操作也不会在各节点之间同步,因此不建议这样做。 If a customized solution is required, please contact LiteSpeed Technologies at info@litespeedtech.com 注意:此插件创建的重写规则必须复制到负载均衡器上。

缓存文件存储在哪里?

实际的缓存页面由 LiteSpeed 服务器存储和管理。 WordPress 文件结构中不会存储任何缓存内容。

LiteSpeed Cache for WordPress 能与 OpenLiteSpeed 配合使用吗?

Yes it can work well with OpenLiteSpeed, although some features may not be supported. See Plugin Features above for details. Any setting changes that require modifying the .htaccess file will require a server restart.

是否支持 WooCommerce?

In short, yes. However, for some WooCommerce themes, the cart may not be updated correctly. Please visit our blog for a quick tutorial on how to detect this problem and fix it if necessary.

我的图片会被优化吗?

Images are not optimized automatically unless you set LiteSpeed Cache > Image Optimization > Image Optimization Settings > Auto Request Cron to ON. You may also optimize your images manually. Learn more.

如何让我的第三方插件中的 WP Nonce 可被缓存?

Our API includes a function that uses ESI to "punch a hole" in a cached page for a nonce. This allows the nonce to be cached separately, regardless of the TTL of the page it is on. Learn more in the API documentation. We also welcome contributions to our predefined list of known third party plugin nonces that users can optionally include via the plugin's ESI settings.

如何启用爬虫?

爬虫默认处于停用状态,必须先由服务器管理员启用。 Once the crawler is enabled on the server side, navigate to LiteSpeed Cache > Crawler > General Settings and set Crawler to ON. For more detailed information about crawler setup, please see the Crawler documentation.

已知兼容的插件和主题有哪些?

The vast majority of plugins and themes are compatible with LiteSpeed Cache. The most up-to-date compatibility information can be found in our documentation

如何报告安全 Bug?

您可以通过以下任一渠道报告疑似漏洞:

Please don't report a suspected vulnerability in this support forum. Reporting details are in security.md in the plugin folder.

更新日志:

8.0 - 即将于 2026 年推出 7.9.2 - Oct 20 2026 7.9.1 - 2026 年 9 月 1 日 7.9 - 2026 年 8 月 5 日 7.8.1 - 2026 年 4 月 1 日 7.8.0.1 - 2026 年 3 月 17 日 7.8 - 2026 年 3 月 3 日