Title: WP-Cache causing Internal Server Errors &#8230; Alternative?
Last modified: August 18, 2016

---

# WP-Cache causing Internal Server Errors … Alternative?

 *  [doorframe](https://wordpress.org/support/users/doorframe/)
 * (@doorframe)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/)
 * I’ve been running my site for a few months, but very recently I started getting
   seemingly inexplicable Internal Server Errors. None of my WordPress pages would
   load (but I could access the administration page). After going back and forth
   with my provider (DreamHost) a few times, they said that something was using 
   too much memory and causing my processes to be killed.
 * Ok.
 * I was initially using WordPress 2.0.5 (I think) so I upgraded to 2.1. Didn’t 
   help. I eventually deleted every file I had and replaced it all with backups 
   from a week ago. No help. I then tried a fresh install of 2.1 pointing back to
   the original database. This worked fine.
 * However, when I reinstalled WP-Cache, I got the same issue. No pages on my site
   would load except for the admin page and other non-wordpress pages. Something
   in WP-Cache is causing Internal Server Errors and I don’t know what.
 * I’ve found other people having the same issue:
 * [http://wordpress.org/support/topic/100834?replies=3](http://wordpress.org/support/topic/100834?replies=3)
   
   [http://www.quickonlinetips.com/archives/2006/12/site-down-36-hours-how-i-fixed-internal-server-errors/](http://www.quickonlinetips.com/archives/2006/12/site-down-36-hours-how-i-fixed-internal-server-errors/)
 * I was able to resolve the issue by fully removing WP-Cache. However, I want it’s
   features. Is there any alternative to WP-Cache with similar abilities to reduce
   server load? Is there anything I can do to make my server not reject WP-Cache?
 * Thanks.

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

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525275)
 * What version of wp-cache?
 * Have a look at this thread: [http://wordpress.org/support/topic/84642?replies=8](http://wordpress.org/support/topic/84642?replies=8)
   (
   in particular, Yosemite’s response)
 *  Thread Starter [doorframe](https://wordpress.org/support/users/doorframe/)
 * (@doorframe)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525287)
 * The first WP-Cache was from a few months ago, I don’t know when it was last updated.
   When I tried reinstalling everything, I used the most recent version, 2.1.0.
 * And thanks for the link, but that’s actually a different problem. I was having
   that blank pages problem for a while as well, about a month ago, but I found 
   that issue and fixed it. In this case, it wasn’t that the pages were loading 
   up as blank, it’s that nothing at all would happen for a long time, then I would
   get an Internal Server Error.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525293)
 * Ok. Well, hopefully someone else will have some ideas.
 * As a data point, one of my blogs is on Dreamhost using wp-cache 2.1 with no issues.
   I know that doesn’t fix anything, but at least it should indicate it is possible.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525657)
 * Wp-Cache did the same thing for me the moment I tried to install it. I think 
   it’s just a buggy plugin.
 * Oddly enough, it only generates that error when it tries to serve a file out 
   of its cache. Makes no sense to me either. But turning off WP-Cache instantly
   solves the problem, so there you go.
 *  [PozHonks](https://wordpress.org/support/users/pozhonks/)
 * (@pozhonks)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525658)
 * You can activate WordPress default cache system.
    Add the following code below
   your mysql settings in the wp-config.php file: `define('ENABLE_CACHE', true);`
 * Display a page and see if WordPress created a folder “cache” inside wp-content.
   Otherwise, try to fix the good rights for wp-content folder to 755.
 * WordPress default cache lasts only 15 minutes. To increase the time, go to line
   56 of the file wp-includes/cache.php and add the new time in seconds (1h = 3600,
   1 day = 86400).
 * However, I read here, in French, [http://www.wordpress-fr.net/?p=188](http://www.wordpress-fr.net/?p=188)
   
   that when creating the cache file, WordPress needs an additional 30 to 40 extra
   queries, thus slowing the display of the page the first time. You need more than
   300 daily visitors to take benefit from the default 15 minutes cache. Otherwise,
   increase the cache time accordingly.
 *  [PozHonks](https://wordpress.org/support/users/pozhonks/)
 * (@pozhonks)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525659)
 * It would be a good idea, if someone creates a plugin by using the above information
   with the option of changing the cache time. So we will have an alternative to
   wp-cache.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525661)
 * The default built-in cache is an object cache, not a page cache. It does reduce
   hits to the database, in theory. But it won’t help in quite the same way that
   wp-cache would.
 * _It would be a good idea, if someone creates a plugin by using the above information
   with the option of changing the cache time._
 * Add this to your wp-config.php file to change the expiration time on the object
   cache:
    define(‘CACHE_EXPIRATION_TIME’,900);
 * Where 900 is the number of seconds you want (900 is the default for 15 minutes).

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

The topic ‘WP-Cache causing Internal Server Errors … Alternative?’ is closed to 
new replies.

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [dreamhost](https://wordpress.org/support/topic-tag/dreamhost/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/wp-cache-causing-internal-server-errors-alternative/#post-525661)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
