LWSCache

Description

This plugin, created by LWS help to automatically manage your LWSCache purge when you edit your pages, post, messages…

It provide a way to purge all your LWSCache.

This plugin works only on servers using the LWSCache system. This cache is pre-installed with Classic shared web hosting, WordPress hosting and soon cPanel hosting from LWS.

The loading speed of your site is crucial to its success. The more visitors your site has, the more RAM and CPU memory the system uses. The page is loaded slowly. So you need a cache system to avoid reloading the page when it is not necessary.

In addition, the site’s page load speed is used in Google’s ranking algorithm. So caching plugins that can improve load times will improve your SEO ranking. Low rankings, and therefore insufficient exposure, often do not allow you to make a living from your website. The loading time of most websites is less than three seconds. Beyond that, many users have already left the page.

The LWS Cache tool is a system designed and developed by LWS. It optimize the loading performance of your website through the use of advanced caching mechanisms, configured at the server level. The tool uses the technologies provided by NGINX.

Functioning

When LWS Cache is enabled, a cache server is introduced between the visitor and the web server.
The aim is to reduce the number of script executions required. For that it keeps the result of the execution in memory for future requests requiring the same response. This means that the same script is no longer executed several times to achieve the same result.

Thus, we eliminate the waiting time of the script execution on the page loading time. At the same time, we save the resources used during the script execution.

  • The visitor requests the page from the web server. Example: index.php. LWS Cache checks if the page has already been generated and stored in the cache

If yes, the page is returned directly to the visitor without the need to access the web service and without executing the script

If not, the page is requested to be generated on the web service as a result of the script execution (PHP, NodeJS, Perl, Ruby, …).

  • Once the page is generated, LWS Cache determines if the page can be cached (via headers, URL, …)

If yes, the page is saved in the cache and returned to the visitor

If not, the page is saved in the microcache (short-lived cache) and returned to the visitor

Managing LWS Cache with the plugin

The WordPress LWS Cache plugin allows you to automatically purge the cache of your pages when you modify them or when you add/approve comments.

To manage the plugin, once connected to your WordPress administration console, go to the “Settings” menu and then “LWS Cache”.

From the settings page, you can enable/disable automatic emptying. You can define when to automatically empty the LWS Cache and completely purge the cache.

A button for emptying the entire cache can be found anywhere in the WordPress admin console (in the quick access bar at the top of the screen).

Key Features

Several settings are available to manage your LWS Cache, you can enable or disable these settings:

  • Automatic purge

  • Home Page Purge (when a post is modified or added, when a published post is trashed)

  • Purge Post/Page/Custom Post Type (when a post is published, when a comment is approved/published, when a comment is unapproved/deleted)

  • Purge Archives (date, category, tag, author, custom taxonomies)

  • Purge all cache

Screenshots

  • LWSCache plugin home
  • Purge the LWSCache
  • Purge the LWS cache from the top of the WordPress dashboard

Installation

This plugin works only on servers using the LWSCache system. This cache is pre-installed with shared web hosting, WordPress hosting, cPanel hosting from LWS.

There are 3 different ways to install LWS Cache (as with any other wordpress.org plugin).

Using the WordPress dashboard

  1. In WordPress, in the Extensions menu, click on “Add”
  2. Search for the ‘LWS Cache’ plugin
  3. Click ‘Install Now’
  4. Activate the plugin

Uploading in WordPress Dashboard

  1. Download the latest version of this plugin
  2. In WordPress, in the Extensions menu, click on “Add”
  3. Click on the top button “Upload an extension”
  4. Select the zip file from your computer (zip file from step 1.)
  5. Click ‘Install Now’
  6. Activate the plugin

Using FTP

  1. Download the latest version of this plugin
  2. Unzip the zip file. This extracts the files from the compressed folder on your computer
  3. Upload the lwscache folder to the /wp-content/plugins/ directory in your web space
  4. Activate the plugin in WordPress

FAQ

Does this module work on all server?

No, it will only work on server who use LWSCache system

What web hosting do I need to use the LWS Cache plugin?

In order to use the LWS Cache plugin, your WordPress site must first be hosted on a shared hosting plan from LWS. Indeed, some options of this plugin cannot work on sites hosted elsewhere because the plugin needs certain technologies and elements related to our hosting.
Here is a list of packages on which the plugin is compatible:

Classic shared web hosting
WordPress hosting
cPanel hosting (soon)

Do you have a valid promo code on recommended web hosting?

Yes, you can enter the coupon code WPEXT15 at checkout (on LWS) to receive an additional 15% discount (cumulative with current promotional offers!)

How do I enable LWS Cache for my WordPress LWSCache plugin?

LWS Cache management is available in the LWS Hosting Panel in the “Optimization and Performance” section. Click on “LWSCache” then select the “Activate” button then “Validate”.
A tutorial is available on our online help.

What is Nginx?

The LWS Cache tool uses the technologies provided by NGINX. NGINX is a performance-oriented web server that can handle many more requests than Apache (see our blog post titled “Apache VS Nginx : Test de performance“). With the right configurations in place, NGINX can accommodate more requests on your website. Both speed up the loading time of your page while reducing your CPU and RAM consumption.

Is this plugin compatible with multisite?

Yes, it is compatible with multisite.

Is this plugin compatible with secure https?

Yes it is compatible with the https protocol.

Is this plugin compatible with Woocommerce themes?

Yes it is compatible with Woocommerce themes.

Is LWSCache compatible with Gutenberg?

Yes it is compatible with Gutenberg .

Is LWSCache compatible with CloudFlare ?

Yes, page caching is independent of proxy caching (for example Cloudflare). You can easily use both, they complement each other without interfering.

How do I disable the LWS Cache?

You can disable the different cache settings one by one in the plugin settings.

Where can I get help?

Find out more about LWSCache by searching for this keyword on our LWS online help. A free 7 days / 7 support is also available in France when you have ordered a web hosting or other service from LWS. Videos are also published regularly on our YouTube channel.

Do you have any other plugins to recommend?

Other WordPress extensions have been created by LWS :

  • LWS Tools : Get a hold on various tools and options to optimize your website. From deactivating emotes or hiding sensible informations to deactivating REST API!
  • LWS Cleaner : Helps you clean your website and giving it a second youth, fast and easily!
  • LWS Hide Login : Redirect your users if they try to access your admin page directly. Choose your own page and protect your website.
  • LWS SMS : Create SMS templates and configurate your website to send SMS to clients when you want it ! Requires ordering SMS credits
  • LWS Affiliation : Easily add banners and widgets such as search domain name availability or a summary table of our web hosting plans on your website.
    Enjoy our LWS affiliate program and earn money!

Useful LWS services to get you started on the web

Reviews

Janairu 25, 2023
Un cache pratique lorsque l’on est hébergé chez LWS où l’on y a accès également.
Read all 4 reviews

Contributors & Developers

“LWSCache” is open source software. The following people have contributed to this plugin.

Contributors

Translate “LWSCache” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.1

  • PHP Warning correction.

1.0.2

  • Improved translation and some enhancements to improve understanding and usability.

2.0

  • Complete redesign of the plugin
  • New “Our plugins” page
  • Bugs fixes
  • Purge option in the topbar now hidden when LWSCache is off

2.5

  • Now working with FastestCache on cPanel
  • Can now activate or deactivate FastestCache from the plugin
  • New plugin added in “Our Plugins”

2.5.5

  • FastestCache deactivation now working better, without having to reload the page again
  • Reviews added

2.5.7

  • Translation error fixed

2.5.8

  • Visuals ameliorations
  • Top toolbar in admin dashboard updated
  • Description updated
  • WPRocket and Powered Cache compatibility

2.5.81

  • Fixed a bug where on some website an error could occur when using LWSCache

2.6

  • Translations changes
  • Up to 6.3

2.7

  • Autopurge now cannot be completely deactivated
  • Fixed problems where deactivating options would not work
  • Fixed issue where purge (manual and automatic) would not work
  • In admin, the “LWSCache” menu on top now allow for the complete deletion of the cache

2.7.0.1

  • Minor update adding warnings when some cache plugins are activated due to possible conflicts

2.8.0

  • Redesign and simplification of the plugin

2.8.1

  • Added more indications when purging cache manually
  • Fixed responsive
  • LWSCache on the top bar now stay even with Autopurge off
  • CSS is confined to the plugin page instead of applying everywhere

2.8.2

  • Remove warnings appearing when WordPress is installed at the root of the server
  • Fixed admin_notices getting disabled on all wp-admin, breaking some plugins (like WooCommerce)

2.8.3

  • Compatibility with LWSOptimize

2.8.4

  • Fixed support for Varnish FastestCache on cPanel not getting recognized by the plugin
  • Changed design of the warning box for when cache is not found/activated