Support » Alpha/Beta/RC » [Plugin: WP Super Cache] A bug!

  • I have checked “Don’t cache pages for logged in users.”
    I just open wp-login.php and not logged success,that the page was no longer cached.

    I found that if I open wp-login.php ,wordpress will set a cookie wordpress_test_cookie.

    So the tule “RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$” in .htaccess been match, so wp super cache misjudge me as logged-in user and not cache for me. Actually,I am not login.

    Sorry for my poor English.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Doesn’t work that way for me. The cookie is set, but I’m still not logged in and I still get the cache page.

    Upgrade your WordPress to 2.9.2 first, and what version of WP Super Cache are you using?

    You’ll still get a half-on cached page. I’ve changed those rules back and forth several times. Each way has good and point points.

    I think the best solution for this is to add the following line to your wp-config file:

    define('TEST_COOKIE', 'wp_test_cookie');

    This — by renaming the test cookie to a name that does not include the string “wordpress” — will make it so Super Cache doesn’t think you’re logged in when you’re logged out but on a login page.

    Works for me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] A bug!’ is closed to new replies.