Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Who qualifies as "known user"?

  • Resolved Storm



    I find the term “known users” to be very vague and unfathomable. By definition it says logged in users, and “users who left a comment”.

    Who exactly are “users who left a comment”? How a visitor qualifies for this criteria?

    If they commented without logging in, how are they tracked? Do they qualify?

    Are people who commented through comment plugins that allow things like Facebook login qualifying as “known user”?

    I think it is important that this should be documented somewhere.

    My problem:
    My main reason for caching is speed. I use a theme which provides essential custom features I never seen in any other theme together, but it is being pretty slow. Caching solves this. However, I don’t want to “punish” my returning commenters by forcing them to use the site uncached.

    Registration is disabled so only I am ever logged in, while comments were previously handled by both enabling commenting without registration, and using a plugin adding a “Comment with your Facebook” option. Now I am switching over to “jetpack comments”. Since that is handled in cloud, there should be no any element of the site that is user-related, the comment form itself being in an iFrame.

    So, can I assume that it is safe toggling “no caching for known users” now, or should I also toggle “make known users anonymous” to be on the safe side? I want to make sure that everybody other than me gets cached files.

    Best wishes,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha O Caoimh


    If they comment using wp-comments-post.php and have an author cookie in their browser then they’re known.

    If you use an external commenting system this cookie may or may not be installed. Enable debugging in the plugin. Using a different browser, clear the cookies for your site and leave a comment then request a new page. Now check the debug log. It should tell you if the user was known or not.



    Thank you very much for the answer! That is much simpler than I expected. 🙂

    Indeed the Jetpack Commetns plugin sets the cookie which disables caching. Now I have to test know to anonymous, but that generates blank page so if I red right I have to download the developer version of Supercache.

    If works, will the Anonymous option affect logged in admins too? Or is i9t possible to make it affect only non-admons, or only not-logged in known users?



    Hmmm… Thinking through again… since I am the only user and comments are handled in an iframe, I really don’t need to have uncached pages. SO I can just disable “don’t cache for known users” right away.

    So I guess I should just mark this solved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Who qualifies as "known user"?’ is closed to new replies.