Laravel Acceleration https://www.litespeedtech.com/images/logos/litespeed/litespeed-logo.png 2019-05-31 15:49:50 Implement accurate caching and purging in your custom-developed Laravel projects with LiteSpeed Cache. Cache both public and private content on the same page with ESI!

LiteSpeed Cache for Laravel

Implement accurate caching and purging in your custom-developed Laravel projects.
Cache both public and private content on the same page with ESI!

Server-Side Caching

The LiteSpeed Cache Package for Laravel is free and open source. It provides a sophisticated tag-based cache management system that can be used with LiteSpeed Web Server's built-in cache module to process public and private cache for your Laravel sites.

With the LSCache package, you can deliver better performance and a superior user experience.


Why Should You Use LiteSpeed Cache for Laravel?

The LiteSpeed Cache package provides helper functions to make it easy for you to implement caching on your custom-developed Laravel website.

  •  Server-Level Full-Page Cache
  •  Both Public and Private Cache
  •  Tag-Based Caching and Purge
  •  Hole Punching with ESI
  •  Set a long or short TTL as needed
  •  Route and Route Group Caching

Frequently Asked Questions

  Is the LiteSpeed Cache Package for Laravel free?

Yes, LSCLaravel will always be free and open source. That said, a LiteSpeed server is required, and there are fees associated with some LiteSpeed server editions.

 What server software is required for this plugin?

A LiteSpeed server is required in order to use this plugin.

LiteSpeed Web Server Enterprise with:

  1. LSCache Module (v5.2.2+)
  2. LiteSpeed WebADC (v2.1+)

Any single server or cluster including a LiteSpeed server will work.

 What is the difference between the LSCache Module for LSWS (requires a license) and the LSCache Package for Laravel (free)?

The LSCache Module is built into your licensed copy of LiteSpeed Web Server. When it comes to caching dynamic content, the LSCache Module does all of the work.

The LSCache Package for Laravel is simply an interface. It allows Laravel to instruct the server Module on what to cache, how long to cache it, and when to purge. And it allows the site owner to manage and configure the Module. Without the server Module, the Laravel Package could not function.

A licensed LSCache Module is required in order to use the free LSCache Laravel Package.

 Does this package 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 This email address is being protected from spambots. You need JavaScript enabled to view it.

NOTICE: The rewrite rules created by this plugin must be copied to the Load Balancer.

 Does LiteSpeed Cache for Laravel work with OpenLiteSpeed?

Yes. However ESI is not supported on OLS, which means you will need to use JavaScript if you want to implement CSRF tokens. Please see our wiki for further details on using CSRF tokens with LiteSpeed Cache.

 Does LiteSpeed Cache for Laravel have a crawler?

No, not at this time.

 How can I install LiteSpeed Cache for Laravel?

LiteSpeed Cache for Laravel works right out of the box with default settings that are appropriate for most sites.

Please refer to the steps from our How to Install LSCLaravel page.


LiteSpeed Cache for Laravel Support

wiki

Wiki

Troubleshoot on your own. Our wiki explains basic setup steps and configuration tips.

Detail »

forum

Forum

Ask a question. In the official support forum get assistance from the LSCache community and our support team.

Detail »