Select your language

Redis is an in-memory database with a simple key-value data structure (key value store) and belongs to the family of NoSQL databases (i.e. it is not relational).

We offer the latest version for your Managed Flex Server and update it regularly. In the Control Panel, you can see which port we use to run Redis: Host: localhost:6379

Requirements

We offer Redis as a standard feature for all Managed Flex Server products.

WordPress

Several WordPress plugins are available that can be used to configure the cache options for Redis. We recommend using either Redis Object Cache or Powered Cache.

Once the plugin is installed, enable it in the overview and then open the settings. You can enable the cache function for Redis here and, depending on the plugin, you will also see other optional settings.

Note: Installing and enabling multiple cache plugins simultaneously can lead to conflicts. This is why we recommend testing various plugins before choosing which plugin to use.

Drupal 8

To use Redis in Drupal, you must first install the necessary module by clicking a download link or opening it from a .tar.gz file directly. The current version is available on the official Drupal website.

Once you have installed the module, you must then add the following lines to the file “./sites/default/settings.php”:

/.sites/default/settings.php
/**
* Redis Configuration.
**/
$conf['chq_redis_cache_enabled'] = TRUE;
if (isset($conf['chq_redis_cache_enabled']) && $conf['chq_redis_cache_enabled']) {
$settings['redis.connection']['interface'] = 'PhpRedis';
$settings['cache']['default'] = 'cache.backend.redis';
// Note that unlike memcached, redis persists cache items to disk so we can
// actually store cache_class_cache_form in the default cache.
$conf['cache_class_cache'] = 'Redis_Cache';
}

To ensure that Redis is displayed in the status report, we also recommend clearing the entire cache.

Magento

To use Redis in Magento, activate it with the following SSH commands:

bin/magento setup:config:set --cache-backend=redis --cache-backend-redis-server=127.0.0.1 --cache-backend-redis-db=0
bin/magento setup:config:set --page-cache=redis --page-cache-redis-server=127.0.0.1 --page-cache-redis-db=1
bin/magento setup:config:set --session-save=redis --session-save-redis-host=127.0.0.1 --session-save-redis-log-level=3 --session-save-redis-db=2

A detailed explanation of each parameter can be found in the official Magento documentation.

Joomla!

Joomla! includes its own option to select the desired cache method in the settings. The “Cache Handler” can be selected by going to System > Configuration > System > Cache. In this case, we choose “Redis”. The IP address 127.0.0.1 is used as the server host. The server port is set to 6379.

TYPO3

To use Redis with Typo3, only the LocalConfiguration.php has to be modified by inserting the following code directly after 'SYS' => [. In this example configuration, the expiration for all caches is set to 24 hours, but this can of course be changed to whatever suits your needs.

/LocalConfiguration.php
'caching' => [
    'cacheConfigurations' => [
        'pages' => [
            'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
            'options' => [
                'database' => 0,
                'defaultLifetime' => 86400
            ],
        ],
        'pagesection' => [
            'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
            'options' => [
                'database' => 1,
                'defaultLifetime' => 86400
            ],
        ],
        'hash' => [
            'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
            'options' => [
                'database' => 2,
                'defaultLifetime' => 86400
            ],
        ],
        'extbase' => [
            'backend' => \TYPO3\CMS\Core\Cache\Backend\RedisBackend::class,
            'options' => [
                'database' => 3,
                'defaultLifetime' => 86400
            ],
        ]
    ]
],

For more information, refer directly to the official Typo3 documentation.

Neos

In Neos, the following file has to be modified: ./Packages/Framework/Neos.Eel/Configuration/Caches.yaml

By default, the file looks like this:

./Packages/Framework/Neos.Eel/Configuration/Caches.yaml
Eel_Expression_Code:
  frontend: Neos\Cache\Frontend\StringFrontend
  backend: Neos\Cache\Backend\SimpleFileBackend

The cache is then modified as follows:

./Packages/Framework/Neos.Eel/Configuration/Caches.yaml
Eel_Expression_Code:
  frontend: Neos\Cache\Frontend\StringFrontend
  backend: Neos\Cache\Backend\RedisBackend

For more information and guides, refer directly to the Neos documentation.

Please use this form only to provide feedback on the above guide.
For support requests please use this form instead.

 

 

© 2001 - Hostpoint AG
Cookie

Wir verwenden Cookies  🍪

We use Cookies  🍪

Nous utilisons des cookies  🍪

Utilizziamo dei cookie  🍪

Die digitalen Auftritte von Hostpoint (Website, Control Panel, Support Center etc.) verwenden Cookies. Diese werden dazu verwendet, um Daten über Besucherinteraktionen zu sammeln. Wenn Sie auf «Akzeptieren» klicken, stimmen Sie der Verwendung dieser Cookies für Werbezwecke, Website-Analyse und Support zu. Gewisse essenzielle Cookies sind jedoch für eine ordnungsgemässe Funktion dieser Seiten unerlässlich und können deshalb nicht deaktiviert werden. Auch ohne Ihre Zustimmung können gewisse Daten in anonymisierter Form für statistische Zwecke und zur Verbesserung unserer Websites verwendet werden. Bitte beachten Sie unsere Datenschutzerklärung.

Hostpoint's digital presences (website, Control Panel, Support Center, etc.) use cookies. These are used to collect data on visitor interactions. If you click “Accept”, you agree to the use of these cookies for advertising purposes, website analysis and support. However, certain cookies are essential for the proper functioning of these pages and therefore cannot be disabled. Even without your consent, certain data may be used in anonymized form for statistical purposes and to improve our websites. Please note our Privacy policy.

Le sites Web de Hostpoint (site Web, Control Panel, Centre d'assistance, etc.) utilisent des cookies. Ces cookies servent à collecter des données sur les interactions des visiteurs. En cliquant sur «Accepter», vous consentez à l’utilisation de ces cookies à des fins de publicité, d’analyse du site Web et d’assistance. Certains cookies essentiels sont cependant indispensables au bon fonctionnement de notre sites Web et ne peuvent donc pas être désactivés. Même sans votre consentement, certaines données peuvent être utilisées sous forme anonymisée à des fins statistiques et pour améliorer notre sites Web. Veuillez prendre connaissance de notre Déclaration de protection des données.

Le presenze digitali di Hostpoint (sito web, Pannello di controllo, Support Center, ecc.) utilizzano i cookie. Questi vengono utilizzati per raccogliere dati sulle interazioni dei visitatori. Facendo clic su «Accetta», acconsente all’utilizzo di questi cookie per scopi pubblicitari, di analisi del sito web e di supporto. Alcuni cookie essenziali sono tuttavia indispensabili per il corretto funzionamento di questi siti web e pertanto non possono essere disattivati. Anche senza il Suo consenso, determinati dati potrebbero essere utilizzati in forma anonima per fini statistici e per l’ottimizzazione dei nostri siti web. Si prega di tenere conto della nostra Dichiarazione per la pivacy.

Ablehnen
Decline
Refuser
Rifiuta
Akzeptieren
Accept
Accepter
Accetta