Download the PHP package voceconnect/wp-cache-bucket without Composer

On this page you can find all versions of the php package voceconnect/wp-cache-bucket. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-cache-bucket

Please note: This plugin is no longer being actively maintained or supported.

WP Cache Bucket

Contributors: voceplatforms, prettyboymp, csloisel, kevinlangleyjr
Tags: cache, caching, performance, optimization
Requires at least: 3.0
Tested up to: 4.1
Stable tag: 1.1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allows cache items to be tied to a single validation key so they can all be expired at once.

Description

Cache bucket uses the built-in WordPress wp_cache but contains methods to associate multiple items with a single cache object or 'bucket' without having to stick all of them into a single cache key. This is helpful when you have multiple items that need to be updated when one item is modified.

Because the key used to identify the cached item is dependent on other variables when it's being accessed, there is no easy way to identify all of the related keys that need to expire, and Memcached doesn't provide is a way to invalidate a group of data. WP Cache Bucket provides a wrapper around the cache that gives a "bucket" interface, allowing us to easily expire the entire set of cached menus when an object changes.

Please Note:
This plugin does not do anything by itself on activation. It is meant to be a helper class for theme and plugin developers.

Usage

Cache Add:
wp_cache_bucket_add( $bucket, $key, $data, $group = '', $expire = 0 )

Cache Set:
wp_cache_bucket_set( $bucket, $key, $data, $group = '', $expire = 0 )

Cache Get:
wp_cache_bucket_get( $bucket, $key, $group = '', $force = false )

Cache Delete:
wp_cache_bucket_flush( $bucket, $group = '' )

Installation

As standard plugin:

See Installing Plugins.

As theme or plugin dependency:

After dropping the plugin into the containing theme or plugin, add this snippet:

if( ! class_exists( 'WP_Cache_Bucket' ) ) {
    require_once( $path_to_wp_cache_bucket . '/wp-cache-bucket.php' );
}

Frequently Asked Questions

Changelog

Please refer to the Release History


All versions of wp-cache-bucket with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package voceconnect/wp-cache-bucket contains the following files

Loading the files please wait ....