<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My DigitalZone &#187; plugin</title>
	<atom:link href="http://mydigitalzone.net/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://mydigitalzone.net</link>
	<description></description>
	<lastBuildDate>Fri, 15 Jan 2010 04:34:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress: How to Disable AutoSave</title>
		<link>http://mydigitalzone.net/2009/12/22/wordpress-how-to-disable-autosave/</link>
		<comments>http://mydigitalzone.net/2009/12/22/wordpress-how-to-disable-autosave/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 01:31:52 +0000</pubDate>
		<dc:creator>Jenny</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[autosave]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://mydigitalzone.net/?p=542</guid>
		<description><![CDATA[<style type="text/css">
<!--
.nmstitle {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-transform: capitalize;
	color: #003333;
}

.nmsdesc {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;

	color: #003333;
}
-->
</style>




Have you ever considered disabling the AutoSave feature of WordPress?  WordPress is great software for blogging and other things.  It is very user-friendly and intuitive to use.  One thing I didn&#8217;t like is its Autosave feature.  When auto save kicks in while writing a post, it slows down my writing/editing.  [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
<!--
.nmstitle {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-transform: capitalize;
	color: #003333;
}

.nmsdesc {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;

	color: #003333;
}
-->
</style><p id="top" /><script type="text/javascript"><!--
google_ad_client = "pub-2241621611203959";
/* DZone_posts336x280, created 1/2/09 */
google_ad_slot = "2956728885";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><img src="http://www.mydigitalzone.net/images/wordpress.jpeg" alt="WordPress" /></p>
<p>Have you ever considered disabling the AutoSave feature of WordPress?  WordPress is great software for blogging and other things.  It is very user-friendly and intuitive to use.  One thing I didn&#8217;t like is its Autosave feature.  When auto save kicks in while writing a post, it slows down my writing/editing.  </p>
<p>Furthermore, every time autosave kicks in it inserts a new row in the data base.  I first noticed it when WordPress told me that &#8220;there is a post with a later time stamp, do you like to revert back to it?&#8221;   Then, it showed me various versions of the same post saved at a different time.  At first, I thought it was a cool feature because I didn&#8217;t have to lose a lot when my laptop freezes.  </p>
<p><strong>Almost ten times more rows than the number of posts</strong><br />
So, I took a look at the database itself.  In the database, wp_post table is where all the posts are saved.  In my other blog, I only have 121 posts.  The number of rows for wp_post is, however, <strong>a whopping 1,402 rows!</strong>  That&#8217;s almost ten times more than the number of posts.  That&#8217;s a lot of waste of disk space, and I&#8217;m sure it will slow down the web site access as the table is much bigger than it needs to be.</p>
<p>The wp_post table has a column called post_status and it has either &#8220;publish&#8221; or &#8220;inherit&#8221;.  I thought about deleting all the rows with marked with &#8220;inherit&#8221; but reconsidered as there may be some issues unknown to me.</p>
<p><strong>Disabling Autosave</strong><br />
Basically, there are two ways to disable autosave.  You either have to edit the configuration file or use a plugin.  Both are not difficult.  Here&#8217;s how.</p>
<ul>
<li><strong>Editing wp-config</strong><br />
Back up to the current version of wp-config.php with a different name so you can revert back if you don&#8217;t like what it does.  Then, add the following line anywhere in between the php opening (< ? php )and ending (? > ).<br />
<code><br />
          define('WP_POST_REVISIONS',false);<br />
</code>
</li>
<li><strong>Using a plugin</strong><br />
This is what I want to try first because I haven&#8217;t used too many plugins that made my site slow.  There are different ones available but I think I like <a href="http://exper.3drecursions.com/2008/07/25/disable-revisions-and-autosave-plugin/">this one.</a></p>
<p>I&#8217;ll let you know how I like this plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://mydigitalzone.net/2009/12/22/wordpress-how-to-disable-autosave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
