Linux 软件免费装
Banner图

LiteSpeed Cache

开发者 LiteSpeedTech
更新时间 2024年4月26日 04:11
PHP版本: 4.0 及以上
WordPress版本: 6.5.2
版权: GPLv3
版权网址: 版权信息

标签

caching speed performance seo optimize database cleaner compress object cache pagespeed memcached redis core web vitals image optimize

下载

5.6 5.3.1 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 6.2 3.2.4 4.2 4.1 6.2.0.1 3.5.1 2.9.9.2 4.4.2 5.0.1 5.1 5.2.1 1.9.1.1 4.4.1 4.4.3 4.4.4 4.4.5 4.5 4.6 5.0 4.4.6 5.0.0.1 4.0 4.3 4.4.7 5.2 3.6.4 4.4 5.3 5.5.1 1.0.15 4.5.0.1 5.3.2 5.3.3 5.7 5.7.0.1 6.0 6.0.0.1 6.1

详情介绍:

LiteSpeed Cache for WordPress (LSCWP) is an all-in-one site acceleration plugin, featuring an exclusive server-level cache and a collection of optimization features. LSCWP supports WordPress Multisite and is compatible with most popular plugins, including WooCommerce, bbPress, and Yoast SEO. LiteSpeed Cache for WordPress is compatible with ClassicPress.

安装:

View detailed documentation. For Optimization Without a LiteSpeed Web Server
  1. Install the LiteSpeed Cache for WordPress plugin and activate it.
  2. From the WordPress Dashboard, navigate to LiteSpeed Cache > Page Optimization. Enable the available optimization features in the various tabs.
For Caching and Optimization With a 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. Enable any desired caching and optimization features in the various tabs.
Notes for LiteSpeed Web Server Enterprise Notes for OpenLiteSpeed

屏幕截图:

  • Admin - Dashboard
  • Admin - Image Optimization
  • Admin - Crawler
  • Admin Settings - Cache
  • Admin Settings - Page Optimization
  • Admin Settings - CDN
  • Admin Settings - DB Optimizer
  • Admin Settings - Toolbox
  • Cache Miss Example
  • Cache Hit Example

常见问题:

Why do the cache features require LiteSpeed Server?

This plugin communicates with your LiteSpeed Web Server and its built-in page cache (LSCache) to deliver superior performance to your WordPress site. The plugin’s cache features indicate to the server that a page is cacheable and for how long, or they invalidate particular cached pages using tags. 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.

What about the optimization features of LSCache?

LSCWP includes additional optimization features, such as Database Optimization, Minification and Combination of CSS and JS files, HTTP/2 Push, CDN Support, Browser Cache, Object Cache, Lazy Load for Images, and Image Optimization! These features do not require the use of a LiteSpeed web server.

Is the LiteSpeed Cache Plugin for WordPress free?

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.

What server software is required for this plugin?

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

  1. LiteSpeed Web Server Enterprise with LSCache Module (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.

Does this plugin work in a clustered environment?

The cache entries are stored at the LiteSpeed server level. The simplest solution is to use LiteSpeed WebADC, as the cache entries will be stored at that level. If using another load balancer, the cache entries will only be stored at the backend nodes, not at the load balancer. The purges will also not be synchronized across the nodes, so this is not recommended. If a customized solution is required, please contact LiteSpeed Technologies at info@litespeedtech.com NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.

Where are the cached files stored?

The actual cached pages are stored and managed by LiteSpeed Servers. Nothing is stored within the WordPress file structure.

Does LiteSpeed Cache for WordPress work with 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.

Is WooCommerce supported?

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.

Are my images optimized?

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.

How do I make a WP nonce cacheable in my third-party plugin?

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.

How do I enable the crawler?

The crawler is disabled by default, and must be enabled by the server admin first. 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.

What are the known compatible plugins and themes?

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

更新日志:

6.2.0.1 - Apr 25 2024 6.2 - Apr 23 2024 6.1 - Feb 1 2024 6.0.0.1 - Dec 15 2023 6.0 - Dec 12 2023 5.7.0.1 - Oct 25 2023 5.7 - Oct 10 2023