Overslaan naar inhoud
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Aanmelden
  • Nederlands English (US) Español (AR)
  • Contact
  • Startpagina
  • Blog
  • Vacatures
  • Contact
Cafayate.Net
  • 0
  • 0
    • Startpagina
    • Blog
    • Vacatures
    • Contact
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Aanmelden
  • Contact

Using Redis for WordPress Object-Cache

  • Alle blogs
  • Tech Blog
  • Using Redis for WordPress Object-Cache
  • 5 maart 2021 in
    Administrator

    Redis Installation

    Add repo which maintains latest redis

    add-apt-repository ppa:chris-lea/redis-server

    Install redis-server and php-binding

    apt-get update
    apt-get install redis-server php5-redis

    WordPress Object Cache

    We are using this object-cache plugin – https://github.com/alleyinteractive/wp-redis

    cd /var/www/example.com/htdocs/wp-content
    wget https://raw.githubusercontent.com/alleyinteractive/wp-redis/master/object-cache.php
    chown www-data: object-cache.php

    WordPress Cache Salt/Prefix

    Useful if you have multiple WordPress.

    Inside wp-config.php

    define('WP_CACHE', true);
    define('WP_CACHE_KEY_SALT', 'example.com/subdir');

     

    Related: https://easyengine.io/tutorials/php/redis-php-sessions/

    in Tech Blog
    PHP Malware Finder

    Ontworpen voor bedrijven

    We zijn een team van gepassioneerde mensen met als doel levens te verbeteren met vernieuwende producten. We ontwikkelen geweldige oplossingen voor al je zakelijke uitdagingen. Onze producten zijn ontworpen voor kleine tot middelgrote bedrijven die hun prestaties willen optimaliseren.

    Neem contact op

    Plantexel
    Pedernera
    Salta Capital 
    Argentina

    • +31 653-919-302
    • [email protected]
    Volg ons
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)