<?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>Thought Labs Blog &#187; Doorbell</title>
	<atom:link href="http://www.thoughtlabs.com/category/doorbell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thoughtlabs.com</link>
	<description>A blog about Social Media by John Maver and Cappy Popp</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Facebook Enables Quick Transitions to Speed Application Load Times</title>
		<link>http://www.thoughtlabs.com/2009/04/15/facebook-enables-quick-transitions-to-speed-application-load-times/</link>
		<comments>http://www.thoughtlabs.com/2009/04/15/facebook-enables-quick-transitions-to-speed-application-load-times/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 21:53:48 +0000</pubDate>
		<dc:creator>Cappy Popp</dc:creator>
				<category><![CDATA[Doorbell]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Facebook Applications]]></category>
		<category><![CDATA[Facebook Platform]]></category>

		<guid isPermaLink="false">http://www.thoughtlabs.com/blogs/?p=220</guid>
		<description><![CDATA[Facebook today announced Quick Transitions, an Ajax-backed technology for enabling faster canvas page loads in Facebook Applications. Does it work? Not at the moment.]]></description>
			<content:encoded><![CDATA[<p></p><p><strong>Quick Transitions</strong></p>
<p><a href="http://developers.facebook.com/news.php?blog=1&amp;story=222" target="_blank">Today Facebook launched a beta feature it calls ‘Quick Transitions.’</a> This feature supposedly results in faster load times for Facebook Platform Application canvas pages. It somehow uses Ajax to load them which keeps the browser from having to do a full page refresh to render the Facebook UI elements that surround every canvas page (like the Chat and Application menu, navigation bar, and ads, etc.)</p>
<p>I wanted to see what effect, if any, enabling this feature had on one of our popular Facebook applications, <a href="http://apps.facebook.com/mydoorbell/" target="_blank">Doorbell</a>. Since this application has over 300k active users a free speed boost sounded just fine with me!</p>
<p>First, to enable the feature go to the Application Settings for your app and click on the Canvas tab. You’ll see a set of two radio buttons at the bottom of the page labeled ‘Quick Transitions.’ Click the ‘On’ button. That’s it. If your application is iframe-based you have to also edit the URLs that govern page transitions. Here's a shot showing where to turn it on:</p>
<div id="attachment_230" class="wp-caption alignleft" style="width: 558px">
	<img class="size-full wp-image-230" title="Enabling Quick Transitions for a Facebook Application" src="http://www.thoughtlabs.com/blogs/wp-content/uploads/2009/04/qt12.png" alt="Enabling Quick Transitions for a Facebook Application" width="558" height="392" />
	<p class="wp-caption-text">Enabling Quick Transitions for a Facebook Application</p>
</div>
<p><strong>Yes, But Does it Work?</strong></p>
<p>In a word, no, at least not for me. Could it be the code? Perhaps. We use Facebook's tab control to navigate between the canvas pages in our application currently. This could be the issue.</p>
<p>Server access logs show that the correct pages are being loaded;  however, the tab for the page never changes nor does its content load. The browser (Firefox, latest) simply sits there with an hourglass. It's still responsive, but the canvas page content never shows. Noticed that Facebook passed along a few new GET variables as well, but they also appear to be modifying the URL for each tab's link.</p>
<p>For example, here's the link to our rankings page:</p>
<p><span style="font-family: courier new,courier;">http://apps.facebook.com/myapp/?page=rankings&amp;_fb_fromhash=xxxxx</span></p>
<p>The link changes after quick transitions are enabled. Here's what my server's access log shows (and it's serving the content up perfectly: I get a 200/OK status code for it):</p>
<p><span style="font-family: courier new,courier;">myapp/#/myapp/?page=rankings&amp;_fb_fromhash=xxxxx&amp;quickling[version]=xxxxx%3B0&amp;nectar_impid=xxxxxx&amp;nctrct=xxxxx</span></p>
<p>...and here's the link that shows up in the browser's address bar:</p>
<p><span style="font-family: courier new,courier;">http://apps.facebook.com/myapp/#/myapp?page=rankings&amp;_fb_fromhash=xxxxx&amp;_fb_q=1&amp;_fb_qsub=apps.facebook.com</span></p>
<p>I'd like to get this working to test how big a speed improvement you can expect to see on your canvas page loads. I know the feature is in beta so I'll keep this post updated with my findings as I get them...</p>
<img src="http://www.thoughtlabs.com/?ak_action=api_record_view&id=220&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.thoughtlabs.com/2009/04/15/facebook-enables-quick-transitions-to-speed-application-load-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

