Title: Hyper Cache &#8211; Empty Cache Directory
Last modified: August 31, 2016

---

# Hyper Cache – Empty Cache Directory

 *  [Bits and Bites](https://wordpress.org/support/users/bits-and-bites/)
 * (@bits-and-bites)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/)
 * I’m testing out Hyper Cache because it sounds like a great plugin, but I’m having
   some trouble getting it up and running. The plugin was able to create a /hyper-
   cache/ subdirectory of /wp-content/cache/, but when I looked inside there were
   no files. After page visits, I checked the source code to see if there was a 
   comment indicating the page had been served from cash, but there was none. However,
   I did find this script before the closing body and html tags:
 * `<script>function lc_get_cookie(name) {var c = document.cookie;if (c.indexOf(
   name) != -1) {var x = c.indexOf(name)+name.length+1;var y = c.indexOf(";",x);
   if (y < 0) y = c.length;return decodeURIComponent(c.substring(x,y));} else return"";}
   if ((d = document.getElementById("commentform")) != null) { e = d.elements;var
   z = lc_get_cookie("comment_author_email_c4c97828dcdab6723a7c27e7c99b35d5");if(
   z != "") e["email"].value = z;z = lc_get_cookie("comment_author_c4c97828dcdab6723a7c27e7c99b35d5");
   if (z != "") e["author"].value = z.replace(/\+/g, " ");z = lc_get_cookie("comment_author_url_c4c97828dcdab6723a7c27e7c99b35d5");
   if (z != "") e["url"].value = z;}</script>`
 * My guess is it looks like the plugin’s code to fill in comment forms on users
   served a cached page and that the plugin is working in a limited capacity.
 * I don’t know if its related, but I ran into an issue an the absent constant define(“
   WP_CACHE”, true); after the WPLANG part (which isn’t there), I just stuck it 
   in at the top where WP Super Cache defines a similar constant. I also ran into
   some file not found errors, but the text was obscured by the WordPress Admin 
   sidebar. These errors disappeared after I saved the settings.
 * [https://wordpress.org/plugins/hyper-cache/](https://wordpress.org/plugins/hyper-cache/)

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

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6954998)
 * Hi did you clear the cache after you entered the following **define(“WP_CACHE”,
   true);** in the wp-config.php file?
 * Then did you open up a page or post in the browser and then did you check the
   cache folder again? You can also click on **Compute the cache size** button.
 *  Thread Starter [Bits and Bites](https://wordpress.org/support/users/bits-and-bites/)
 * (@bits-and-bites)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955003)
 * I took your advice and 1) pressed “Clean the whole cache” under the Hyper Cache
   settings page; 2) Browsed pages and posts when not logged in; then 3) pressed“
   Compute the cache size” under the Hyper Cache settings page.
 * When I compute the size, I get a label with no value, just “Cache size:”. Cache
   directory is still empty. Hope that helps.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955004)
 * Try and reinstall the plugin.
 *  Thread Starter [Bits and Bites](https://wordpress.org/support/users/bits-and-bites/)
 * (@bits-and-bites)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955121)
 * Nope, reinstallation didn’t work.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955148)
 * Try the following, deactivate all your other plugins except this one and carry
   out another test. You can try also the FAQ in the following [link](http://www.satollo.net/plugins/hyper-cache).
 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955149)
 * Do not browse the site when you’re logged in, use a clean or anonymous browser.

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

The topic ‘Hyper Cache – Empty Cache Directory’ is closed to new replies.

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

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [empty](https://wordpress.org/support/topic-tag/empty/)
 * [No](https://wordpress.org/support/topic-tag/no/)
 * [not](https://wordpress.org/support/topic-tag/not/)
 * [working](https://wordpress.org/support/topic-tag/working/)

 * 6 replies
 * 3 participants
 * Last reply from: [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/hyper-cache-empty-cache-directory/#post-6955149)
 * Status: not resolved