Come configurare il plugin Redis Object Cache in WordPress sul tuo host Simply.com.
Redis Object Cache-pluginet bruker Redis til caching, hvilket kan gi bedre ydeevne, især på større og tunge hjemmesider med meget cachelagret data, der tilgås ved hver sideindlæsning.
Da Redis ikke er tilgængelig for alle kunder og kræver individuel konfiguration, kræver det at man manuelt opsætter det.
Puoi trovare le tue informazioni Redis nel nostro pannello di controllo nella voce sul lato sinistro sotto Redis.
È anche qui che puoi creare un'istanza Redis, se non l'hai già fatto.
wp-config.phpPer configurare Redis Cache, aggiungi le seguenti righe all'inizio del tuo file wp-config.php:
define('WP_REDIS_HOST', '<hostnavn>');
define('WP_REDIS_PORT', <port>);
define('WP_REDIS_DATABASE', 0);
define('WP_REDIS_PASSWORD', '<password>');
Sostituisci <port>, <hostnavn> e <password> con le informazioni appropriate per la tua istanza Redis.
Dopo l'installazione e l'attivazione di Redis, puoi verificare se Redis Cache funziona correttamente navigando su Impostazioni → Redis nel pannello di amministrazione di WordPress. Dovrebbe indicare che è connected.
Articolo dalla categoria di supporto: PHP