<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Remove Contact Form 7 to Speed Up Wordpress Blog</title>
	<atom:link href="http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/</link>
	<description>Technology blog dealing with tips, tricks, tweaks related with computer and internet. Blogged by Pavan Kumar AR.</description>
	<lastBuildDate>Sun, 27 Nov 2011 18:21:32 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Setup Online Contact Page - Static Sites&#124;Simple HTML Contact Form</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-6279</link>
		<dc:creator>Setup Online Contact Page - Static Sites&#124;Simple HTML Contact Form</dc:creator>
		<pubDate>Fri, 04 Sep 2009 18:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-6279</guid>
		<description>[...] techie stuff, but it sometimes has its own disadvantages if you pick the wrong plugin as discussed here. [...]</description>
		<content:encoded><![CDATA[<p>[...] techie stuff, but it sometimes has its own disadvantages if you pick the wrong plugin as discussed here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavan Kumar</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-5656</link>
		<dc:creator>Pavan Kumar</dc:creator>
		<pubDate>Sun, 02 Aug 2009 07:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-5656</guid>
		<description>@ Mehigh,

Nice workout buddy, will try it soon on localhost installation, thanks :)</description>
		<content:encoded><![CDATA[<p>@ Mehigh,</p>
<p>Nice workout buddy, will try it soon on localhost installation, thanks <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehigh</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-5655</link>
		<dc:creator>Mehigh</dc:creator>
		<pubDate>Sun, 02 Aug 2009 07:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-5655</guid>
		<description>The code got scrambled, so I added to pastebin, check it out here:
http://mehigh.pastebin.com/f5830a146</description>
		<content:encoded><![CDATA[<p>The code got scrambled, so I added to pastebin, check it out here:<br />
<a href="http://mehigh.pastebin.com/f5830a146" rel="nofollow">http://mehigh.pastebin.com/f5830a146</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehigh</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-5652</link>
		<dc:creator>Mehigh</dc:creator>
		<pubDate>Sun, 02 Aug 2009 07:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-5652</guid>
		<description>Hey Pavan,

I&#039;ll try to give you a few hints, such that you would easily do this in the future (maybe even write an article after you do it &quot;hands-on&quot;).

1st, when you look in the source code of the page you will see comments around the imported files from a particular plugin:
&lt;!-- Start Of Script Generated By __ --&gt;


&lt;!-- End Of Script Generated By __ --&gt;

Copy paste this links into a new file.

Now go into the plugin&#039;s folder and look for wp_head, usually at the end of the plugin .php file there will be a line that &#039;adds up&#039; the plugins CSS &amp; JS files to the header of Wordpress.
Just comment this line and you will notice there will be no more CSS &amp; JS from this plugin anymore.

Take the CSS files that are imported, use a CSS Compression utility http://www.cssdrive.com/index.php/main/csscompressor/, compress them and add the styles to the end of your theme&#039;s style.css file. Now since they are imported the styles in the main style.css, you won&#039;t need to worry about the css links, but what do we do with the JS file ?

Now let&#039;s move to the header.php from your theme file
post-&gt;ID; ?&gt;
  
    &lt;!-- js files needed by the X plugin --&gt;
    
  
  
    &lt;!-- js files needed by some other Y plugin needed on the 9999 page --&gt;
    
  

3675 is the page ID where the first js file is needed.

Now that will be the only one loading it.

You can get your pageID either from the wp-admin, or by simply looking at the source code of a link pointing towards it (it has a class similar to: page-item-3675), you take the number and stick it in your if clause from above.

Does this look scary ? Just back-up your wp-content folder before you get your hands dirty and you will be able to go back one step in case you break anything... then try again.

Good luck,
Mehigh</description>
		<content:encoded><![CDATA[<p>Hey Pavan,</p>
<p>I&#8217;ll try to give you a few hints, such that you would easily do this in the future (maybe even write an article after you do it &#8220;hands-on&#8221;).</p>
<p>1st, when you look in the source code of the page you will see comments around the imported files from a particular plugin:<br />
<!-- Start Of Script Generated By __ --></p>
<p><!-- End Of Script Generated By __ --></p>
<p>Copy paste this links into a new file.</p>
<p>Now go into the plugin&#8217;s folder and look for wp_head, usually at the end of the plugin .php file there will be a line that &#8216;adds up&#8217; the plugins CSS &amp; JS files to the header of Wordpress.<br />
Just comment this line and you will notice there will be no more CSS &amp; JS from this plugin anymore.</p>
<p>Take the CSS files that are imported, use a CSS Compression utility <a href="http://www.cssdrive.com/index.php/main/csscompressor/" rel="nofollow">http://www.cssdrive.com/index.php/main/csscompressor/</a>, compress them and add the styles to the end of your theme&#8217;s style.css file. Now since they are imported the styles in the main style.css, you won&#8217;t need to worry about the css links, but what do we do with the JS file ?</p>
<p>Now let&#8217;s move to the header.php from your theme file<br />
post-&gt;ID; ?&gt;</p>
<p>    <!-- js files needed by the X plugin --></p>
<p>    <!-- js files needed by some other Y plugin needed on the 9999 page --></p>
<p>3675 is the page ID where the first js file is needed.</p>
<p>Now that will be the only one loading it.</p>
<p>You can get your pageID either from the wp-admin, or by simply looking at the source code of a link pointing towards it (it has a class similar to: page-item-3675), you take the number and stick it in your if clause from above.</p>
<p>Does this look scary ? Just back-up your wp-content folder before you get your hands dirty and you will be able to go back one step in case you break anything&#8230; then try again.</p>
<p>Good luck,<br />
Mehigh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavan Kumar</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-5365</link>
		<dc:creator>Pavan Kumar</dc:creator>
		<pubDate>Wed, 15 Jul 2009 20:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-5365</guid>
		<description>@ Mehigh,

I understand you coders, developers can do whatever you want ;) but unfortunately I am not a code :( so, if I mess up, that will be a huge problem. I hope your comment helps other visitors on my blog :) 

Thanks for sharing and welcome here :)</description>
		<content:encoded><![CDATA[<p>@ Mehigh,</p>
<p>I understand you coders, developers can do whatever you want <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but unfortunately I am not a code <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  so, if I mess up, that will be a huge problem. I hope your comment helps other visitors on my blog <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Thanks for sharing and welcome here <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehigh</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-5363</link>
		<dc:creator>Mehigh</dc:creator>
		<pubDate>Wed, 15 Jul 2009 16:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-5363</guid>
		<description>What you mentioned here is true for most of the plugins that require javascript.
A quick solution I use is to manually load the javascript files only on the pages that require them, with just a bit of php.

(only pseudocode below, not php)
if current_page_id = 56 (or whatever page ID is the contact page)
 ... the js and css links for the contact form
end

and I remove the js &amp; css calls from the plug-in, such that it won&#039;t load in the wp_head anymore.

Hope it will help you keep this plug-in without heavy js being imported on all your pages.
Goodluck!</description>
		<content:encoded><![CDATA[<p>What you mentioned here is true for most of the plugins that require javascript.<br />
A quick solution I use is to manually load the javascript files only on the pages that require them, with just a bit of php.</p>
<p>(only pseudocode below, not php)<br />
if current_page_id = 56 (or whatever page ID is the contact page)<br />
 &#8230; the js and css links for the contact form<br />
end</p>
<p>and I remove the js &amp; css calls from the plug-in, such that it won&#8217;t load in the wp_head anymore.</p>
<p>Hope it will help you keep this plug-in without heavy js being imported on all your pages.<br />
Goodluck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavan Kumar</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-4835</link>
		<dc:creator>Pavan Kumar</dc:creator>
		<pubDate>Sat, 13 Jun 2009 18:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-4835</guid>
		<description>@Fotodepp

Did you try to add the source code link directly? Its given in noupe itself..

But before adding this one, first you need to remove the existing one from loading and then add this code. If you just add this code without removing the older one, your site will get much slow :-&#124;</description>
		<content:encoded><![CDATA[<p>@Fotodepp</p>
<p>Did you try to add the source code link directly? Its given in noupe itself..</p>
<p>But before adding this one, first you need to remove the existing one from loading and then add this code. If you just add this code without removing the older one, your site will get much slow <img src='http://www.techpavan.com/wp-includes/images/smilies/icon_neutral.gif' alt=':-|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fotodepp</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-4827</link>
		<dc:creator>Fotodepp</dc:creator>
		<pubDate>Sat, 13 Jun 2009 13:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-4827</guid>
		<description>Damn, didnt works. here the code:

http://txtb.in/2ZM</description>
		<content:encoded><![CDATA[<p>Damn, didnt works. here the code:</p>
<p><a href="http://txtb.in/2ZM" rel="nofollow">http://txtb.in/2ZM</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fotodepp</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-4826</link>
		<dc:creator>Fotodepp</dc:creator>
		<pubDate>Sat, 13 Jun 2009 13:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-4826</guid>
		<description>hey,

just want to say, that i found a other way to include the prototype. it loads faster - i think. 

  
google.load(&quot;prototype&quot;, &quot;1.6.0.2&quot;);  

just paste this in the head

&lt;a href=&quot;http://www.noupe.com/wordpress/13-great-wordpress-speed-tips-tricks-for-max-performance.html&quot; rel=&quot;nofollow&quot;&gt;via&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>hey,</p>
<p>just want to say, that i found a other way to include the prototype. it loads faster &#8211; i think. </p>
<p>google.load(&#8221;prototype&#8221;, &#8220;1.6.0.2&#8243;);  </p>
<p>just paste this in the head</p>
<p><a href="http://www.noupe.com/wordpress/13-great-wordpress-speed-tips-tricks-for-max-performance.html" rel="nofollow">via</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Image Optimization for Websites to Load Fast&#124;Optimize Performance</title>
		<link>http://www.techpavan.com/2009/05/25/speed-optimize-wordpress-blog-performance-removing-plugins-contact-form/#comment-4661</link>
		<dc:creator>Image Optimization for Websites to Load Fast&#124;Optimize Performance</dc:creator>
		<pubDate>Wed, 03 Jun 2009 12:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.techpavan.com/?p=1729#comment-4661</guid>
		<description>[...] you have a quality content. I recently worked on my theme to make it minimal in terms of size and optimizing website speed. Coming to the site, I referred above, the logo itself was 40kb, other banners and images too were [...]</description>
		<content:encoded><![CDATA[<p>[...] you have a quality content. I recently worked on my theme to make it minimal in terms of size and optimizing website speed. Coming to the site, I referred above, the logo itself was 40kb, other banners and images too were [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced)

Served from: www.techpavan.com @ 2012-02-13 00:59:03 -->
