Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11075

leejosepho on "wordpress using too much database space"

$
0
0

it also stores the revisions

Ah yes, and you can control that and some other things a bit by adding something like this above "That's all, stop editing!" in wp-config.php:

/**
** Various Dashboard Tweaks
* bridle 'AUTOSAVE_INTERVAL' */
define('AUTOSAVE_INTERVAL', 300 ); //seconds
/* limit 'WP_POST_REVISIONS' */
define( 'WP_POST_REVISIONS', 3 );
/* enable 'DISALLOW_FILE_EDIT' at Dashboard */
define('DISALLOW_FILE_EDIT', true);

Viewing all articles
Browse latest Browse all 11075

Trending Articles