<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: WordPress, 404s, and Load&#160;Time</title> <atom:link href="http://davidwalsh.name/wordpress-404/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/wordpress-404</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 24 May 2012 07:34:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Marty Thornley</title><link>http://davidwalsh.name/wordpress-404#comment-8672</link> <dc:creator>Marty Thornley</dc:creator> <pubDate>Sun, 12 Apr 2009 01:10:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8672</guid> <description>Hey David,Brilliant solution to one of the nagging problems with wordpress plugins. So many of them load missing files that don&#039;t seem to be necessary, but slow down the page load.I tried it out on my site and definitely seemed to notice some improvement.Thanks fo sharing!-Marty</description> <content:encoded><![CDATA[<p>Hey David,</p><p>Brilliant solution to one of the nagging problems with wordpress plugins. So many of them load missing files that don&#8217;t seem to be necessary, but slow down the page load.</p><p>I tried it out on my site and definitely seemed to notice some improvement.</p><p>Thanks fo sharing!</p><p>-Marty</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/wordpress-404#comment-8659</link> <dc:creator>David Walsh</dc:creator> <pubDate>Fri, 10 Apr 2009 14:04:43 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8659</guid> <description>&lt;p&gt;@Egil:  I did fix the plugin.  Another reason I do this is because spammers try to hit my site all the time.  For example:&lt;/p&gt;&lt;p&gt;http://davidwalsh.name/?russian-porn-site/chicks.txt&lt;/p&gt;&lt;p&gt;I don&#039;t want then straining my resources.&lt;/p&gt;&lt;p&gt;If it&#039;s an article bombing out, it wont have a &quot;.&quot; in it so I&#039;m not worried about legit 404s not being caught.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>@Egil:  I did fix the plugin.  Another reason I do this is because spammers try to hit my site all the time.  For example:</p><p><a
href="http://davidwalsh.name/?russian-porn-site/chicks.txt" rel="nofollow">http://davidwalsh.name/?russian-porn-site/chicks.txt</a></p><p>I don&#8217;t want then straining my resources.</p><p>If it&#8217;s an article bombing out, it wont have a &#8220;.&#8221; in it so I&#8217;m not worried about legit 404s not being caught.</p> ]]></content:encoded> </item> <item><title>By: Egil Hansen</title><link>http://davidwalsh.name/wordpress-404#comment-8658</link> <dc:creator>Egil Hansen</dc:creator> <pubDate>Fri, 10 Apr 2009 14:00:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8658</guid> <description>Hi DavidGreat blog, a few suggestions for this entry though:Have you considered just fixing the plugin so the visitor to your site do not have to &quot;waste&quot; a round trip to the server just to get an empty .css file? It seems to me to be the better fix for the problem you describe.Your general &quot;catch future errors&quot; fix is OK. I would add some logging to it though, so you get notified when your page and/or a plugin is looking for a resource that is not there, and you can fix it rather than have it silently continue wasting visitors time with round trips to the server.Regards, Egil.</description> <content:encoded><![CDATA[<p>Hi David</p><p>Great blog, a few suggestions for this entry though:</p><p>Have you considered just fixing the plugin so the visitor to your site do not have to &#8220;waste&#8221; a round trip to the server just to get an empty .css file? It seems to me to be the better fix for the problem you describe.</p><p>Your general &#8220;catch future errors&#8221; fix is OK. I would add some logging to it though, so you get notified when your page and/or a plugin is looking for a resource that is not there, and you can fix it rather than have it silently continue wasting visitors time with round trips to the server.</p><p>Regards, Egil.</p> ]]></content:encoded> </item> <item><title>By: Rich</title><link>http://davidwalsh.name/wordpress-404#comment-8657</link> <dc:creator>Rich</dc:creator> <pubDate>Fri, 10 Apr 2009 13:07:44 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8657</guid> <description>This is pretty interesting David. I did place a little code on my own 404&#039;s that tells me more information as to the users interaction. What page they were trying to get to and some other stuff that for the most part help me either correct the issue or at least konw whats going on and try to correct the problem. </description> <content:encoded><![CDATA[<p>This is pretty interesting David. I did place a little code on my own 404&#8242;s that tells me more information as to the users interaction. What page they were trying to get to and some other stuff that for the most part help me either correct the issue or at least konw whats going on and try to correct the problem.</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://davidwalsh.name/wordpress-404#comment-8656</link> <dc:creator>Chris</dc:creator> <pubDate>Fri, 10 Apr 2009 12:29:11 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8656</guid> <description>$ext = !empty($&#095;SERVER[&#039;REQUEST&#095;URI&#039;]) ? strtolower(pathname($&#095;SERVER[&#039;REQUEST&#095;URI&#039;], PATHNAME&#095;EXTENSION)) : null;
if(in&#095;array($ext, array(&#039;jpg&#039;, &#039;css&#039;, &#039;whatever&#039;)) die(&#039;&#039;);I like this one better :&gt;</description> <content:encoded><![CDATA[<p>$ext = !empty($&#95;SERVER['REQUEST&#95;URI']) ? strtolower(pathname($&#95;SERVER['REQUEST&#95;URI'], PATHNAME&#95;EXTENSION)) : null;<br
/> if(in&#95;array($ext, array(&#8216;jpg&#8217;, &#8216;css&#8217;, &#8216;whatever&#8217;)) die(&#8221;);</p><p>I like this one better :&gt;</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/wordpress-404#comment-8654</link> <dc:creator>David Walsh</dc:creator> <pubDate>Fri, 10 Apr 2009 11:57:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2062#comment-8654</guid> <description>&lt;p&gt;Since originally writing this article, I&#039;ve made this check as just for the &quot;.&quot; character:&lt;/p&gt;&lt;p&gt;if(strstr($uri,&#039;.&#039;)) { die(&#039;&#039;); } &lt;/p&gt;&lt;p&gt;Performance++!&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Since originally writing this article, I&#8217;ve made this check as just for the &#8220;.&#8221; character:</p><p>if(strstr($uri,&#8217;.')) { die(&#8221;); }</p><p>Performance++!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.024 seconds using disk: basic
Object Caching 569/569 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-24 03:48:29 -->
