Horje
Supercharge your WP Object Cache with LCache, a persistent, performant, and multi-layer cache library. Wordpress Tutorial

Noted That:

  • To install correctly this wp-lcache.zip .
  • Fisrt Download the wp-lcache.zip to your computer
  • Extract/Open wp-lcache.zip to Your Computer.
  • Then, Find readme.txt file inside wp-lcache.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " wp-lcache.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " wp-lcache.zip "  Downloaded plugin from your computer, Where you downloaded wp-lcache.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " WP LCache " folder is added on left sidemenu. Now, Click on " WP LCache " folder.

   Noted that: If you do not see " WP LCache " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  WP LCache Configurtions and Settings or How to work " WP LCache " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WP LCache " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WP LCache
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

WP LCache requires PHP 5.6 or greater with the APCu extension enabled.

To install WP LCache, follow these steps:

  1. Install the plugin from WordPress.org using the WordPress dashboard.
    1a. Those installing from Github will need to run composer install --no-dev --no-scripts after cloning to get the LCache library .
  2. Activate the plugin, to ensure LCache’s database tables are created. These are created on the plugin activation hook.
  3. Create a stub file at wp-content/object-cache.php to require wp-content/plugins/wp-lcache/object-cache.php .

The wp-content/object-cache.php file should contain:



To install WP LCache in one line with WP-CLI:


wp plugin install wp-lcache --activate && wp lcache enable

If you need to install APCu, the PECL installer is the easiest way to do so.

  • PHP 7.0: pecl install apcu
  • PHP 5.6: pecl install channel://pecl.php.net/apcu-4.0.11

Enabling APCu for CLI is a matter of adding apc.enable_cli='on' to your etc/php5/cli/php.ini .

If you can’t easily use PHP 5.6 or greater, you should switch to a more responsible hosting provider.

Admin Notices

If any of the requirements for LCache to function are not met, you will see an admin notice indicating the issue. Here’s how to resolve issues for each possible dependency:

  • “LCache database table”: This indicates you have the object-cache.php symlink in place, but have not activated the plugin (which installs the LCache db table). Activate the plugin and verify the LCache tables are created.
  • “PHP 5.6 or greater”: You need to update your PHP runtime, which will also make your site faster and more secure. Do it today, or contact your hosting provider if you don’t have access.
  • “APCu extension installed/enabled”: You don’t have the required PHP extension to power LCache. See above instructions for installing APCU, or contact your hosting provider.
  • “LCache library”: you’re probably installing direct from GitHub, not a download from the WordPress.org plugins directory. Awesome! You just need to run composer install --no-dev inside the wp-lcache directory, and make sure the resulting vendor directory is deployed along with the rest of wp-lcache .

cache , supercharge , object , lcache , persistent , performant , multi , layer , library , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference