WordPress.org

Forums

Quick Cache (Speed Without Compromise)
WARNING -- Quick Cache does NOT cache requests to 127.0.0.1!!! (2 posts)

  1. JS Morisset
    Member
    Posted 2 years ago #

    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/

  2. crdunst
    Member
    Posted 2 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.