How to specify the Auto save Interval

WordPress has a really good feature of Auto save which automatically saves the post which is really beneficial in lots of cases, but sometime people complain that WordPress saves the posts too often and can create problems on heavy traffic websites, because it will require more resources.

So the Solution is to specify the Auto Save interval, which can be done by adding the below lines in WP-config.php :

define('AUTOSAVE_INTERVAL', 360 );  // seconds

The Interval is defined in seconds in the above code I have mentioned 360 Seconds = 6 minutes that means WordPress will save the post every 6 minutes

The default value is 60 Seconds that means WordPress saves a post every minute, but now you can change the Auto Save interval to whatever you want

Subscribe to WPDEN