Download the PHP package sandstorm/optimizedrediscachebackend without Composer

On this page you can find all versions of the php package sandstorm/optimizedrediscachebackend. 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 optimizedrediscachebackend

Optimized Redis Cache Backend

OBSOLETE Since Neos 8.0

NOTE: OptimizedRedisCacheBackend is OBSOLETE for Neos 8.0 and newer, as its functionality has been integrated into the core, and improved further on. Thanks Sebastian Helzle and everybody involved for that :-) :-)

How to migrate from OptimizedRedisCacheBackend to Neos 8.x

The functionality of Sandstorm\OptimizedRedisCacheBackend\OptimizedRedisCacheBackend has been integrated and further improved into the core class Neos\Cache\Backend\RedisBackend.

Thus, to update, you need to go to your Caches.yaml and replace all occurences of Sandstorm\OptimizedRedisCacheBackend\OptimizedRedisCacheBackend with Neos\Cache\Backend\RedisBackend.





Original Readme for Neos < 8.0

Installation

Version compatibility:

Usage

in Caches.yaml, do:

If you are using a symlink-based deployment, you should set the flushRedisDatabaseCompletely option as follows to remove stale data from previous releases (and ensure you use one redis DB per cache):

Problems with the current Redis cache implementation

Optimizations in this cache backend

Optimized FlushByTag

When doing flushByTag, we just do the following:

this means that the other tags for the cache entries are not removed.

Removal of entries list of standard cache backend

The default Redis cache backend as an entries list storing all cache entries (needed for iteration on legacy Redis versions). Finding elements in the list is O(n) in the number of list entries.

Today, one could use KEYS for iterating over entries; but our content cache does not rely on IterableBackendInterface. Thus, we just remove the entries altogether.

More simple flush() implementation

For implementing flush(), we just iterate over the relevant part of the keyspace and remove all elements. Before, this was done through a similar logic as explained in FlushByTag, because the Redis Backend was freezable (but we do not need this for Neos Content Cache).


All versions of optimizedrediscachebackend with dependencies

PHP Build Version
Package Version
Requires neos/flow Version ~6.3.14 || ~7.0.11 || ~7.1.5 || ^7.2.2 || dev-master
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 sandstorm/optimizedrediscachebackend contains the following files

Loading the files please wait ....