|
|
|
The Auto Save feature in WordPress is a nice, helpful function which automatically and periodically saves your posts (while you write them) after x seconds (default is 60 seconds). You may wonder what it is for. Just image this scenario. You have been working for half an hour on a certain post. Abruptly, a power outage comes turning your PC off without warning. Guess what happen? Your post, unless you saved it previously, has gone. Irremediably lost beyond recovery! Under this point of view the Auto Save feature is very, very necessary, isn’t it? However the down-side is that, by automatically saving your posts every 60 seconds, it consumes a lot of your server resources, also causing slow queries, above all if you are on a shared server. Here is a little hack to…optimize it.
Go to your FTP server, open the public_html folder, locate wp-config.php and add the following piece of code between the opening <?php and closing ?>:
define(‘AUTOSAVE_INTERVAL’,600);
600 in the example, represents the number of seconds (10 minutes) WordPress should wait between auto-saving your post.
Tags: hack, Wordpress
Related Articles
Latest Articles
If you can not find what you are looking for, you might want to try Google Advanced Search and get thousands of results, specifically selected for you.
Google Advanced Search
|
Leave a Comment
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.

Comments
How to fix “Windows Explorer has stopped working” in Windows 7: Thesres no machine throttling!! How do i...
An Incredible Way to Reveal Passwords Behind Asterisks: good for finding someone elses password i guess, lol
An Incredible Way to Reveal Passwords Behind Asterisks: using the browser’s saved password viewer will sometimes...
An Incredible Way to Reveal Passwords Behind Asterisks: or you could just go to tools>options>security&g t;saved...
An Incredible Way to Reveal Passwords Behind Asterisks: this should be fun at work and on public work stations. This...
An Incredible Way to Reveal Passwords Behind Asterisks: Firefox users should install this add on…....
An Incredible Way to Reveal Passwords Behind Asterisks: Note this only works if you did in fact have your browser remember...
An Incredible Way to Reveal Passwords Behind Asterisks: Nice code, useful, does it work after cleaning internet browsers...
An Incredible Way to Reveal Passwords Behind Asterisks: (“There are no passwords in forms on this page.”)
An Incredible Way to Reveal Passwords Behind Asterisks: Thanks. Doesn’t seems to be working correctly in IE6. 1....