Orthogonal Thought | Random musings from the creator of Cooking For Engineers and Lead Architect of Fanpop





wp-cache woes

Posted 20 April, 2007 at 7:36pm by Michael Chu
(Filed under: Orthogonal Thought, WordPress)

I've been trying to get wp-cache working with WordPress 2.1.3 and it just doesn't seem to be doing anything right. I uploaded the wp-cache plugin (version 2.1.1) to my plugins directory and activated it. The first time I enabled it under Options-WP_CACHE, it did nothing. It made the cache directory and properly set the symbolic link as well as the permissions, but none of my pages were being cached and none of the pages had any info added to the HTML source as expected. The second time I tried installing it, I ended up with a blank page and had to go into my wp_config.php to remove the define('WP_CACHE', true); statement. Anyone else have issues with wp-cache on wordpress 2.1.3?

5 comments to wp-cache woes

Jerome Dahdah, May 7th, 2007 at 8:44 am:

  • WP-Cache created the symbolic link for you? That's unusual, I had to create it myself. Perhaps double-check that. I'll guess that WP also has a debug mode somewhere, perhaps that will provide more insight. Also, I'm sure you've thought of it, but for completeness' sake: did you deactivate gzip? I have WP-Cache running on 2.1.3 right now without problems.

Michael Chu, May 7th, 2007 at 9:29 am:

  • WP-Cache made the link. I even removed it and made it manually just in case, but no go. Yeah, gzip is/was deactivated at the time.

    WP-Cache is supposed to put a slug at the bottom of my page telling me the render time / cache status right?

Jerome Dahdah, May 7th, 2007 at 9:35 am:

  • Yes, you should see one at the very bottom of your source code, in the form of an HTML-comment, like on my site.

Liuta Ovidiu, October 19th, 2007 at 7:46 am:

  • Hi there! We also had this issue on our site with the latest version using Wordpress 2.3 and we manage to find the issue, the problem is caused by the symlink put there, you need to replace this

    ln -s wp-content/plugins/wp-cache/wp-cache-phase1.php wp-content/advanced-cache.php

    with this

    ln -s /{full_server_path}wp-cache-phase1.php wp-content/advanced-cache.php

    where {full_server_path} need to be replaced with the actual full server path to the wp-cache-phase1.php , like /home/…/plugins/wp-cache/wp-cache-phase1.php

    Hope it helps! Ovidiu

rouademunte, October 18th, 2009 at 11:03 am:

  • Hello,

    I use wordpress.com,and I find him very good.