About LSCache
Flexible and customizable, LSCache provides a simple but highly effective way to deliver your content, FAST.
What is Cache?
Website applications with dynamically generated content can be slow. They often require database queries and script executions before they can generate the HTML that is ultimately served to a visitor. This kind of CPU-intensive work, request after request, can slow a website down dramatically.
Caching, however, saves the day! What if your web app only had to generate a requested page once? And the resulting HTML could be saved and used for subsequent requests? That is caching, in a nutshell. It’s a way to save a static HTML snapshot of dynamic content, so that it doesn’t need to be generated again. Requests can be served immediately, which is important for visitor retention and for search engine page ranking.
What is an LSCache Plugin
LSCache is LiteSpeed’s cache engine module, which ships with every LiteSpeed server product. An LSCache plugin provides an interface for your web application’s own familiar admin panel. From there you can instruct the cache engine how to handle your app’s content.
Which pages should be cached? And for how long? And what events trigger a cache purge? LSCache plugins give you the control to answer these questions for your app.
There’s an LSCache plugin for many popular web applications. Take a look!
What Makes LSCache Special?
Web Server/ADC/CDN
LSCache Engine
LSCache Plugin
Web Server/ADC/CDN
Unlike most other caching solutions, LSCache is built directly into LiteSpeed server products. Being an integral part of the server gives LSCache the ability to analyze dependencies, making intelligent caching and purging possible.
LSCache Engine
LiteSpeed's powerful cache engine module is the center of the operation. Content is cached and purged at this level according to the instructions the module receives from rewrite rules, HTTP headers, or LSCache plugins.
LSCache Plugin
LSCache plugins exist for many popular applications, such as WordPress, Magento, and Joomla. These plugins apply CMS knowledge to cache rules, and communicate the appropriate instructions to the LSCache Engine.
How to Get LSCache
In just a few minutes you can begin using LSCache with one of our highly efficient LiteSpeed server products.
GET STARTED NOWCapabilities
LiteSpeed’s Cache Engine provides the capabilities necessary to customize a cache solution for your unique applications. Whether you choose to use one of our supported plugins, or develop your own, you can customize a solution that works for you.
Server-Level Full-Page Cache
Plugins communicate directly with LiteSpeed Web Server to store static copies of dynamically-generated web pages.
Edge Side Includes (ESI)
ESI lets you "punch holes" in a publicly cached page, and then fill those holes with private content.
Private Cache
Cache personalized copies of a page, in situations where the content is pertinent only to the user who requests it.
Browser Cache Support
Facilitates storing static content locally on the user's device to avoid the expense of re-downloading files.
Variance
Use pattern-matching rules to cache multiple public copies of a page based on cookies, visitor location, and more.
Stale Cache
Minimizes impact of page updates by serving the previous cache entry to all but the first visitor while a page is building.