Title: Commentars cache
Last modified: November 5, 2024

---

# Commentars cache

 *  Resolved [torren1112](https://wordpress.org/support/users/torren1112/)
 * (@torren1112)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/commentars-cache/)
    - comment_author_email_{HASH}
    - comment_author_{HASH}
    - comment_author_url_{HASH}
 * Hello, I am using the wp-discuz comment plugin and the data below creates a cookie
   and the cache is disabled. How can I include this data, which is only used by
   visitors, in the cache?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/commentars-cache/#post-18126311)
 * Hi,
 * Are you disabling caching when a cookie is detected? Set it to “Enable caching
   for all visitors” (or the last one, to disable it for logged in visitors only)
   instead. If the cache is disabled by the wp-discuz plugin, you should talk to
   the author of that plugin and show them this thread. They can add support for
   WP Super Cache using the following code.
 * You need to tell WP Super Cache to use those cookies to identify users because
   it only uses the default WordPress cookies by default. Read [this page](https://developer.jetpack.com/docs/customization/wp-super-cache/add-or-removing-cookies-with-wp-super-cache/)
   to learn more, but you should add the following lines to an mu-plugin file:
 *     ```wp-block-code
       do_action( 'wpsc_add_cookie', 'comment_author_email_{HASH}' );do_action( 'wpsc_add_cookie', 'comment_author_{HASH}' );do_action( 'wpsc_add_cookie', 'comment_author_url_{HASH}' );
       ```
   
 * Replace the HASH at the end with whatever it is on your site, and test it. It
   should create a new cache file when you leave a comment.
 * Donncha
 *  Thread Starter [torren1112](https://wordpress.org/support/users/torren1112/)
 * (@torren1112)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/commentars-cache/#post-18126707)
 * thanks
 *  Plugin Support [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * (@lastsplash)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/commentars-cache/#post-18136530)
 * Hi [@torren1112](https://wordpress.org/support/users/torren1112/) –
 * I’m going to mark this thread as resolved. Feel free to start a new thread if
   needed in the future.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Commentars cache’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/commentars-cache/#post-18136530)
 * Status: resolved