close

April 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

SlickStack has ditched Redis for Memcached object caching

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #4880
    Jerry
    Guest

    Just an announcement for the SERPs that SlickStack is now using Memcached instead of Redis for WordPress object caching.

    This is after several problems caused by Redis the last few years.

    Redis is great, but super complex and optimizing the configuration file was even next to impossible for us, just too complicated for SlickStack.

    So we moved to using Memcached for now 🙂

    #4881
    Bobby
    Guest
    #4882
    Roger
    Guest

    woo hoo

    #4883
    Donald
    Guest

    I mean look at this config, doesn’t get much simpler than this:

    https://github.com/littlebizzy/slickstack/blob/master/modules/memcached/memcached-conf.txt

    -d
    logfile /var/log/memcached.log
    -m 256
    -p 11211
    -u memcache
    -l 127.0.0.1
    -l ::1
    -P /var/run/memcached/memcached.pid
    -U 0
    #4889
    Diana
    Guest

    why is memcached better than redis?

    #4994
    Noah
    Guest

    WordPress Object Caching: Redis, Memcached and native APIs

    Memcached is an in-memory high-performing object caching system that is according to the official website, specifically designed to speed-up dynamic web applications and alleviate database load. It is also much simpler and straightforward to use than Redis.

    Due to being specifically designed to do object caching for web pages, and the fact that it uses an in-memory database makes it the fastest object caching solution out there. However as we’ve mentioned earlier, if your server restarts, your cache is out. And until it is rebuilt, you will probably be experiencing increased load. But as the creators say: “think of it as a short-term memory for your website”, so it rather depends on what you want to do in the first place.

    #5014
    William
    Guest

    Memcached is much simpler, probably makes sense for SlickStack purpose

    #5015
    Louis
    Guest
    #7526
    Gabriel
    Guest

    Hi guys, when will Clear Caches plugin be updated to support memcached?

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!