<?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: META Refresh vs. Javascript&#160;Refresh</title> <atom:link href="http://davidwalsh.name/meta-refresh-javascript/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/meta-refresh-javascript</link> <description>PHP, CSS, MooTools, jQuery, and Everything Else</description> <lastBuildDate>Thu, 11 Mar 2010 12:44:18 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Cosmofur</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-15992</link> <dc:creator>Cosmofur</dc:creator> <pubDate>Mon, 08 Feb 2010 15:40:30 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-15992</guid> <description>I have a specialized need for refresh that has nothing to do with standard compliance or google searches since its not for a public server.
Rather for internal use, I create a status display for a number projects/applications, and use meta refresh to update the display so we can keep this status display scrolling at a number of internal displays.
All plain and simple, running on a tiny computer with no HA or clusters needed.
The problem is, if the server should fail for any reason and the reboot takes longer than the refresh time, I then have to go around to all the displays and manually refresh the local web browsers to get the displays scrolling again.
Is there a way to use java-script to refresh and try again, even if the server 404ed? (I don&#039;t mind it showing an error while the server is down, but it shoudl start refreshing again once it&#039;s back up)
Perhaps keeping the java-script in a frame? (but I hate frames!)</description> <content:encoded><![CDATA[<p>I have a specialized need for refresh that has nothing to do with standard compliance or google searches since its not for a public server.<br
/> Rather for internal use, I create a status display for a number projects/applications, and use meta refresh to update the display so we can keep this status display scrolling at a number of internal displays.<br
/> All plain and simple, running on a tiny computer with no HA or clusters needed.<br
/> The problem is, if the server should fail for any reason and the reboot takes longer than the refresh time, I then have to go around to all the displays and manually refresh the local web browsers to get the displays scrolling again.<br
/> Is there a way to use java-script to refresh and try again, even if the server 404ed? (I don&#8217;t mind it showing an error while the server is down, but it shoudl start refreshing again once it&#8217;s back up)<br
/> Perhaps keeping the java-script in a frame? (but I hate frames!)</p> ]]></content:encoded> </item> <item><title>By: Meta Refresh</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-15536</link> <dc:creator>Meta Refresh</dc:creator> <pubDate>Sun, 24 Jan 2010 00:00:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-15536</guid> <description>This is a good snippet of information, its good to go through the source code of your competitor or of a bigger site to see what they do differently. Its good to know about the meta refresh though.</description> <content:encoded><![CDATA[<p>This is a good snippet of information, its good to go through the source code of your competitor or of a bigger site to see what they do differently. Its good to know about the meta refresh though.</p> ]]></content:encoded> </item> <item><title>By: META Refresh vs. Javascript&#160;Refresh &#124; Programming Blog</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14126</link> <dc:creator>META Refresh vs. Javascript&#160;Refresh &#124; Programming Blog</dc:creator> <pubDate>Wed, 02 Dec 2009 23:21:25 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14126</guid> <description>[...] META Refresh vs. Javascript&#160;Refresh [...]</description> <content:encoded><![CDATA[<p>[...] META Refresh vs. Javascript&nbsp;Refresh [...]</p> ]]></content:encoded> </item> <item><title>By: Random Links #88 &#124; YASDW - yet another software developer weblog</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14046</link> <dc:creator>Random Links #88 &#124; YASDW - yet another software developer weblog</dc:creator> <pubDate>Mon, 30 Nov 2009 22:36:58 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14046</guid> <description>[...] META Refresh vs. Javascript Refresh Was nehm ich jetzt wann her? [...]</description> <content:encoded><![CDATA[<p>[...] META Refresh vs. Javascript Refresh Was nehm ich jetzt wann her? [...]</p> ]]></content:encoded> </item> <item><title>By: Darkimmortal</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14005</link> <dc:creator>Darkimmortal</dc:creator> <pubDate>Fri, 27 Nov 2009 13:18:10 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14005</guid> <description>Name me a browser that&#039;s worth supporting that supports Javascript but not http-equiv meta tags.</description> <content:encoded><![CDATA[<p>Name me a browser that&#8217;s worth supporting that supports Javascript but not http-equiv meta tags.</p> ]]></content:encoded> </item> <item><title>By: Phil Sturgeon</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14004</link> <dc:creator>Phil Sturgeon</dc:creator> <pubDate>Fri, 27 Nov 2009 12:52:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14004</guid> <description>@Mark:  That would require a user to have JavaScript enabled AND META support, which would negate the entire point of having both methods included.One should be used as a fall-back for the other, not both expected as requirements.</description> <content:encoded><![CDATA[<p>@Mark:  That would require a user to have JavaScript enabled AND META support, which would negate the entire point of having both methods included.</p><p>One should be used as a fall-back for the other, not both expected as requirements.</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14003</link> <dc:creator>Mark</dc:creator> <pubDate>Fri, 27 Nov 2009 12:34:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14003</guid> <description>To go into an entirely new direction, why not get the document&#039;s head and inject a new element (meta) with those values! :PSometimes you CAN have your cake eaten in two.</description> <content:encoded><![CDATA[<p>To go into an entirely new direction, why not get the document&#8217;s head and inject a new element (meta) with those values! :P</p><p>Sometimes you CAN have your cake eaten in two.</p> ]]></content:encoded> </item> <item><title>By: Daniel Oliveira</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-14001</link> <dc:creator>Daniel Oliveira</dc:creator> <pubDate>Fri, 27 Nov 2009 12:17:49 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-14001</guid> <description>To me, the ESPN&#039;s code sounds fine...</description> <content:encoded><![CDATA[<p>To me, the ESPN&#8217;s code sounds fine&#8230;</p> ]]></content:encoded> </item> <item><title>By: Phil Sturgeon</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-13978</link> <dc:creator>Phil Sturgeon</dc:creator> <pubDate>Thu, 26 Nov 2009 15:20:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-13978</guid> <description>It goes without saying if its possible to use HTTP Headers instead, you would. The point here is about how to fire redirects in the client and for that there are two ways.The reason you combine the two is simple. META does not work on all browsers and JavaScript can be disabled in some. By using both methods you are increasing the likely-hood of support drastically as its very unlikely you will find a browser that does not support either.You might think there is never a reason to use client-side refreshes, but when you work in a corporate world where idiots make the rules, you have to use their systems, follow their orders and produce crap. If I can make my crap work a little bit better, I am all for it.</description> <content:encoded><![CDATA[<p>It goes without saying if its possible to use HTTP Headers instead, you would. The point here is about how to fire redirects in the client and for that there are two ways.</p><p>The reason you combine the two is simple. META does not work on all browsers and JavaScript can be disabled in some. By using both methods you are increasing the likely-hood of support drastically as its very unlikely you will find a browser that does not support either.</p><p>You might think there is never a reason to use client-side refreshes, but when you work in a corporate world where idiots make the rules, you have to use their systems, follow their orders and produce crap. If I can make my crap work a little bit better, I am all for it.</p> ]]></content:encoded> </item> <item><title>By: Darkimmortal</title><link>http://davidwalsh.name/meta-refresh-javascript/comment-page-1#comment-13976</link> <dc:creator>Darkimmortal</dc:creator> <pubDate>Thu, 26 Nov 2009 13:12:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=4298#comment-13976</guid> <description>&quot;We’re a bit off track here people. The point isn’t whether or not you should use them — it’s the method by which you use when you do use them.&quot;Absolutely, go ahead and use automatic refreshes. Including the exact same functionality and its bugs twice and in a non-standard way is a different matter however.If you absolutely have to do an automatic refresh, meta tags or http headers are the way to go. Not Javascript (unless it has to be done from code) and not a mishmash.</description> <content:encoded><![CDATA[<p>&#8220;We’re a bit off track here people. The point isn’t whether or not you should use them — it’s the method by which you use when you do use them.&#8221;</p><p>Absolutely, go ahead and use automatic refreshes. Including the exact same functionality and its bugs twice and in a non-standard way is a different matter however.</p><p>If you absolutely have to do an automatic refresh, meta tags or http headers are the way to go. Not Javascript (unless it has to be done from code) and not a mishmash.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 4/20 queries in 0.021 seconds using disk

Served from: davidwalsh.name @ 2010-03-11 12:53:48 -->