How to Change or Limit Auto Save Frequency in WordPress
WordPress How To

How to Change or Limit Auto Save Frequency in WordPress

Mishel Shaji
Mishel Shaji

Auto Save is a great feature which WordPress offers. By default, WordPress saves posts at regular intervals (60 seconds), preventing loss of your draft.

But the problem with this feature is that it occupies more database space. This may not sound good for users with limited database space. Fortunately, WordPress provides you an option to disable or limit Auto Save frequency.

Limit Auto Save frequency

  • Go to root directory of WordPress Installation.
  • Open wp-config.php file and add this line at the beginning.
define( ‘AUTOSAVE_INTERVAL’, 300);
//this will set autosave delay to 300 seconds (5 Minutes).
  • Save and exit.

Along with Auto-Saving, WordPress keeps track of your post revisions. A post revision is made whenever you hit Save Draft or Update button. This may eat up your database space. Learn how to disable post revisions in WordPress.