v1.6-v1.7 LiteSpeed Cache 1.40 for prestashop

jabitxu

Active member
XNullUser
Joined
Nov 2, 2020
Messages
194
Reaction score
50
Points
28
NullCash
10

LiteSpeed Cache for PrestaShop


What is LSCache?


LiteSpeed Cache (also called LSCache) is LiteSpeed's more efficient and highly customizable answer to Apache mod_cache and Varnish.


LSCache is built from the ground up and integrated into all LiteSpeed server products. It can:


  • dramatically speed up dynamic website content (like PHP pages)
  • provide more efficient handling of static content (like images)
  • reduce server load

Understanding Caching


If you are new to website caching, allow us to demystify a few basic concepts.


What is Caching?


Generally speaking, a cache is a mechanism for storing data in such a way that it is easier or faster to retrieve than the original source.


Web application sites consist of dynamic pages that are built with PHP or some other method. The pages of these sites don’t exist anywhere in the file system; they are constructed on-demand by the web app, and then served to the visitor as HTML. Generating these dynamic pages can be resource-intensive and slow.


There are actually several types of caches. LSCache is a "page cache." A page cache's job is to take this dynamically generated web page, and store it as a static HTML snapshot. That way, the next time the page is requested by a visitor, the snapshot can be served immediately. Serving a snapshot is much faster and uses far fewer resources than generating the page dynamically does.


How does LSCache Work?


Imagine you have an uncached page.


A visitor requests that page, and a few things happen:


  • LiteSpeed looks for the page among its stored cache objects and does not find it
  • LiteSpeed returns a "cache miss"
  • The web app dynamically generates a static HTML page while the visitor waits
  • LiteSpeed serves the static HTML page to the visitor
  • LiteSpeed stores the static HTML page as a cache object for later use

A few minutes later, another visitor requests that same page. Here's what happens:


  • LiteSpeed looks for the page among its stored cache objects and finds it
  • LiteSpeed returns a "cache hit"
  • LiteSpeed immediately serves the static HTML page to the visitor

Notice how the inefficient web app is not in the picture at all once the page has been cached? From this point on, until the cache object expires, any visitors who request that page will not have to wait around for the web app.


You can see why caching is good for your visitors, and good for your server load!


Why Use a Plugin?


The LiteSpeed Cache Engine can be controlled through rewrite rules in the .htaccess of a web app's document root. So what do you gain by using an LSCache plugin?


An LSCache plugin bridges the knowledge gap between a web app and the Cache Engine.


Put another way: web apps have rules about what content may be cached, for how long it
 

Attachments

  • litespeedcache.zip
    164.8 KB · Views: 1

freiserk

Well-known member
Pro
Master
Diamond
Elite
Joined
Jan 24, 2019
Messages
3,455
Reaction score
6,445
Points
113
NullCash
35,187

LiteSpeed Cache for PrestaShop


What is LSCache?


LiteSpeed Cache (also called LSCache) is LiteSpeed's more efficient and highly customizable answer to Apache mod_cache and Varnish.


LSCache is built from the ground up and integrated into all LiteSpeed server products. It can:


  • dramatically speed up dynamic website content (like PHP pages)
  • provide more efficient handling of static content (like images)
  • reduce server load

Understanding Caching


If you are new to website caching, allow us to demystify a few basic concepts.


What is Caching?


Generally speaking, a cache is a mechanism for storing data in such a way that it is easier or faster to retrieve than the original source.


Web application sites consist of dynamic pages that are built with PHP or some other method. The pages of these sites don’t exist anywhere in the file system; they are constructed on-demand by the web app, and then served to the visitor as HTML. Generating these dynamic pages can be resource-intensive and slow.


There are actually several types of caches. LSCache is a "page cache." A page cache's job is to take this dynamically generated web page, and store it as a static HTML snapshot. That way, the next time the page is requested by a visitor, the snapshot can be served immediately. Serving a snapshot is much faster and uses far fewer resources than generating the page dynamically does.


How does LSCache Work?


Imagine you have an uncached page.


A visitor requests that page, and a few things happen:


  • LiteSpeed looks for the page among its stored cache objects and does not find it
  • LiteSpeed returns a "cache miss"
  • The web app dynamically generates a static HTML page while the visitor waits
  • LiteSpeed serves the static HTML page to the visitor
  • LiteSpeed stores the static HTML page as a cache object for later use

A few minutes later, another visitor requests that same page. Here's what happens:


  • LiteSpeed looks for the page among its stored cache objects and finds it
  • LiteSpeed returns a "cache hit"
  • LiteSpeed immediately serves the static HTML page to the visitor

Notice how the inefficient web app is not in the picture at all once the page has been cached? From this point on, until the cache object expires, any visitors who request that page will not have to wait around for the web app.


You can see why caching is good for your visitors, and good for your server load!


Why Use a Plugin?


The LiteSpeed Cache Engine can be controlled through rewrite rules in the .htaccess of a web app's document root. So what do you gain by using an LSCache plugin?


An LSCache plugin bridges the knowledge gap between a web app and the Cache Engine.


Put another way: web apps have rules about what content may be cached, for how long it

FREE DOWNLOAD HERE:


Greetings.
 

Djack

Member
XNullUser
Joined
Jan 28, 2021
Messages
52
Reaction score
57
Points
18
NullCash
126
Thank you friend!
Very useful module!
 

Biogent

Member
XNullUser
Joined
Jun 8, 2023
Messages
58
Reaction score
2
Points
8
Location
Ukraine
NullCash
200
Any alternatives for this module? I mean, working on PS 8.0.x + LightSpeed Cache.
 

sbiribaus

Active member
Elite
XNullUser
Joined
Apr 3, 2020
Messages
209
Reaction score
177
Points
43
NullCash
1,288
Thank you very much! It can be useful module!
 

usea

Member
XNullUser
Joined
Oct 19, 2021
Messages
367
Reaction score
2
Points
18
NullCash
27
Any alternatives for this module? I mean, working on PS 8.0.x + LightSpeed Cache.
 

ilias00

Active member
Elite
XNullUser
Joined
Nov 22, 2019
Messages
136
Reaction score
205
Points
43
NullCash
5
Any alternatives for this module? I mean, working on PS 8.0.x + LightSpeed Cache.
 

Bany

Member
XNullUser
Joined
May 21, 2021
Messages
154
Reaction score
0
Points
16
NullCash
3
thanks but i think so its free from litespeed cache page
 

lamb

Member
XNullUser
Joined
Sep 19, 2022
Messages
95
Reaction score
1
Points
8
NullCash
47
You know you this requires litespeed to be enabled on your web server for this to work right? You can't just add the plugin on its own and expect it to magically work.
 

Biogent

Member
XNullUser
Joined
Jun 8, 2023
Messages
58
Reaction score
2
Points
8
Location
Ukraine
NullCash
200
Very bad support from lightspeed devs - orphan module, only WordPress plugin actively supported. I don't understand why develop caching technology (Lightspeed Cache) if there is no support to use it. :sick:
 

Sillumin

Well-known member
Pro
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
743
Points
113
NullCash
5,953
Exact name and author of the module from main PHP file is: LiteSpeed Cache Plugin by LiteSpeedTech.
 
Top