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.
- The topic ‘Hyper Cache – Empty Cache Directory’ is closed to new replies.