WordPress.org

Support

Support » Plugins and Hacks » WARNING — Quick Cache does NOT cache requests to 127.0.0.1!!!

WARNING — Quick Cache does NOT cache requests to 127.0.0.1!!!

  • I proxy some requests through 127.0.0.1 and couldn’t figure out why Quick Cache wasn’t doing it’s job. I tried every documented feature (env variable, defines, get params) — nothing worked. Finally I went into the code — intent on removing the offending check. That’s when I found a check for the LOCALHOST constant. OMG. Why do that if you’re not going to document it???

    Anyway, adding teh following to my wp-config.php file fixed it.

    define(‘LOCALHOST’, true);

    js.

    http://wordpress.org/extend/plugins/quick-cache/

Viewing 1 replies (of 1 total)
  • Thanks for posting back – I had the same problem and couldn’t figure out why it wasn’t working locally. Your wp-config constant did the trick…

Viewing 1 replies (of 1 total)
  • The topic ‘WARNING — Quick Cache does NOT cache requests to 127.0.0.1!!!’ is closed to new replies.