Plugin Directory

Changeset 2321389


Ignore:
Timestamp:
06/10/2020 08:06:27 AM (6 years ago)
Author:
baseapp
Message:

Updated redis-cache config

Location:
wpbase-cache/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpbase-cache/trunk/includes/object-cache.php

    r2006654 r2321389  
    1515
    1616if ( ! defined( 'WP_REDIS_DISABLED' ) || ! WP_REDIS_DISABLED ) :
    17 
     17define('WP_CACHE_KEY_SALT', DB_NAME);
    1818/**
    1919 * Adds a value to cache.
  • wpbase-cache/trunk/readme.txt

    r2153982 r2321389  
    33Tags: cache,chaching,speed,performance,db cache,optimization,nginx,varnish
    44Requires at least: 3.5
    5 Tested up to: 5.2
     5Tested up to: 5.4.1
    66Stable tag: trunk
    77Donate link:
  • wpbase-cache/trunk/wpbase-cache.php

    r2153982 r2321389  
    22/*
    33  Plugin Name: WPBase-Cache
    4   Plugin URI: https://github.com/baseapp/wpbase-cache
    5   Description: A wordpress plugin for using all caches on varnish, nginx, php-fpm stack with php-apc. This plugin includes db-cache-reloaded-fix for dbcache.
    6   Version: 5.5.1
     4  Plugin URI: https://www.wpoven.com/
     5  Description: Custom WordPress Caching plugin for WPOven Hosted Sites which uses all caches on varnish, nginx, php-fpm stack with php-apc. This plugin also includes db-cache-reloaded-fix for dbcache.
     6  Version: 5.5.2
    77  Author: Vikrant Datta
    8   Author URI: http://blog.wpoven.com
     8  Author URI: https://www.wpoven.com/
    99  License: GPL2
    1010
     
    2727define('WPBASE_CACHE_DIR', WP_PLUGIN_DIR . '/wpbase-cache');
    2828define('WPBASE_CACHE_INC_DIR', WP_PLUGIN_DIR . '/wpbase-cache/inc');
     29
     30preg_match('/define.*DB_NAME.*\'(.*)\'/', $configs, $m);
     31$dbname = $m[1];
     32define('DB_NAME', $dbname);
     33
    2934add_action('admin_enqueue_scripts', function() {
    3035    wp_register_style('style', plugin_dir_url(__FILE__) . '/style.css', false);
Note: See TracChangeset for help on using the changeset viewer.