In: , , ,
On: 2007 / 05 / 31
Shorter URL for this post:

You may have seen a nasty Error 500 for the past two or three hours here, and this is the second time I've had this kind of trouble. Site up, MySQL up, stuff looking OK, except that everything related to WordPress, including the admin area, dies returning an error. It turned out that the culprit was… WordPress' Cache.

Apparently, there can be sometimes a stale lock file in wp-content/cache/ that prevents everything from running normally. In my case, I'm using WP's internal cache but not the WP-Cache plugin, but it seems this problem affects also WP-Cache users. The stale lock is actually preventing things from running so well that every process just timeouts and dies.

Today's lesson : when your WordPress blog starts to behave weirdly and not responding, simply delete wp-content/cache/.

Shorter URL

Want to share or tweet this post? Please use this short URL:


This entry "WordPress Troubles ? Clean the Cache !" was posted on 31/05/2007 at 12:56 am and is tagged with , , ,
Watch this discussion : Comments RSS 2.0.

9 Blablas

  1. Ron says:

    How can I use the WP internal cache?? I don't have that option / directory.

  2. Ozh says:

    Ron » the internal cache is part of every WP installation, hence the name "internal" :) Its directory is wp-content/cache. In order to make use of it, and to reduce the number of queries on your site, you may need to add the following to your wp-config.php :

    1. define('ENABLE_CACHE', true);
  3. Kunal says:

    The wp-content/cache/ doesn't exist. WordPress doesn't have a cache of its own. It's only if you install the WP-Cache plugin or if the other plugins have their own caches.


  4. Ravi Chopra says:

    Thanks Ozh. Shall use the same on my website. Thanks a ton.

  5. Thanks OZh. I'm give it a try on my blog. Hopefully, my website won't be slow anymore or else i guess i have to find a vps server. Cheers, Hyde.

  6. Dheeraj says:

    Thanks for sharing what is the importance of clear cache but @error 500-it is amazing to know that 500 error is also is because of cache.

  7. IsraelTorres says:

    Thank you man, this shit I deleted the folder that was installed by plugins wp-cache, and deleted my site back to normal faster and unstable after deleting the cache folder.

    Now are 5:06 am, I was since midnight trying to solve and you helped me, thanks

  8. Abir says:

    Please help me out. I installed the newer version of WP and now my dashboard is not rendering any css styles. It shows a very long list of items. I am so lost, please let me know how can I fix it. thank you so much!

  9. Manuel says:

    so if i understand well, to clear the cache of my wp-content by the ftp i simply delete de diffrent "folder" or "file" in the folder that are in wp-content/cache?

    so i delete "config", "minify", "page_enhanced", "tmp" and "index.html??? thank you.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?