I’ve been minifying my blog and one thing i ran into was the fact that W3TC kept using the same minified CSS file (Even after installing YUI compressor, changing compressor, changing my style.css, etc..)

Then it hit me, every single time I ‘clear my cache’ it didn’t clear anything. So the culprit is probably memcache.

TL;dr : here’s how to flush your memcache!

  1. Log into your machine through SSH
  2. While inside, telnet the memcache daemon
    tiago@alfred:~# telnet 11211
  3. Once you are in, you should see:
    Connected to
    Escape character is '^]'.
  4. Now, just type flush_all as a command and press the ENTER key
  5. You should see the response OK
  6. Once that is done, just type quit to quit! and you should see Connection closed by foreign host.

And you’re set! The next website load should take a while as W3TC is re-minifying everything now!

Happy crunching!