Plugin / LiteSpeed Cache

LiteSpeed Technologies

Frequently Asked Questions (FAQ)

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? We’re beta testing our new QUIC.cloud CDN service, and it allows those 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!
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! And now, many of these features do not require the use of a LiteSpeed web server.
Yes, LSCWP will always be free and open source. That said, a LiteSpeed server is required for the LiteSpeed Exclusive Features (see the list above), and there are fees associated with some LiteSpeed server editions (see question 2).
A LiteSpeed web server is required in order to use the LiteSpeed Exclusive Features of this plugin. See Plugin Features above for details. LiteSpeed Web Server Enterprise with LSCache Module (v5.0.10+) OpenLiteSpeed (v1.4.17+) – Free and open source! LiteSpeed WebADC (v2.0+) Any single server or cluster including a LiteSpeed server will work. The General Features may be used with any web server. LiteSpeed is not required.
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 [email protected] NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.
The actual cached pages are stored and managed by LiteSpeed Servers. Nothing is stored within the WordPress file structure.
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.
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.
As of version 1.0.10, you may simply add define('LSCACHE_NO_CACHE', true); sometime before the shutdown hook, and it should be recognized by the cache. Alternatively, you may use the function xxxLiteSpeed_Cache_Tags::set_noncacheable(); for earlier versions (1.0.7+). If using the function, make sure to check that the class exists prior to using the function. Please see our API wiki for more information and to learn what else you can do to integrate your plugin with LSCWP.
Not automatically. LSCWP v1.6+ can optimize your images by request. Navigate to LiteSpeed Cache > Image Optimization.
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 for 12 hours, regardless of the TTL of the page it is on. Quick start: replace wp_create_nonce( 'example' ) with method_exists( 'LiteSpeed_Cache_API', 'nonce' ) ? LiteSpeed_Cache_API::nonce( 'example' ) : wp_create_nonce( 'example' ). Learn more on our API wiki.
Use:
to replace NOTE: The id can be changed, but the div id and the ajax function must match. Replace the ajax query in wp-content/plugins/wp-postviews/postviews-cache.js with jQuery.ajax({ type:"GET", url:viewsCacheL10n.admin_ajax_url, data:"postviews_id="+viewsCacheL10n.post_id+"&action=postviews", cache:!1, success:function(data) { if(data) { jQuery('#postviews_lscwp').html(data+' views'); } } }); Purge the cache to use the updated pages.
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 and set Activation to Enable. For more detailed information about crawler setup, please see our wiki.
LSCWP has a “Basic View” and an “Advanced View.” While in Basic View, you will see the following settings tabs: General, Cache, Purge, Excludes, and (optionally) WooCommerce. These are all that is necessary to manage the LiteSpeed Cache. Click on the Advanced View link at the top of the page, and several more tabs will be revealed: Optimize, Tuning, Media, CDN, ESI, Advanced, Debug, Crawler. These tabs contain more expert-level cache options as well as non-cache-related optimization functionality.
WPML DoLogin Security bbPress WooCommerce Contact Form 7 Google XML Sitemaps Yoast SEO Wordfence Security NextGen Gallery ShortPixel Aelia CurrencySwitcher Fast Velocity Minify – Thanks Raul Peixoto! Autoptimize Better WP Minify WP Touch Theme My Login WPLister WP-PostRatings Avada 5.1 RC1+ Elegant Themes Divi 3.0.67+ [Elegant Divi Builder] (https://www.elegantthemes.com/plugins/divi-builder/) Caldera Forms 1.5.6.2+ Login With Ajax Ninja Forms Post Types Order 1.9.3.6+ BoomBox — Viral Magazine WordPress Theme Beaver Builder FacetWP (LSWS 5.3.6+) WpDiscuz WP-Stateless Elementor

Ratings

4.9
976 reviews

Rating breakdown

Details Information

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.