<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Chicago Style SEO</title> <link>http://www.chicagostyleseo.com</link> <description>Chicago Style SEO Blog</description> <lastBuildDate>Tue, 04 May 2010 14:23:03 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.8.6</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/chicagostyleseo/blog" /><feedburner:info uri="chicagostyleseo/blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Google’s Need for Speed – Google Analytics Asynchronous Tracking Code</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/2XxNKt3ZlXQ/</link> <comments>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-google-analytics-asynchronous-tracking-code/#comments</comments> <pubDate>Wed, 28 Apr 2010 10:06:09 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=617</guid> <description><![CDATA[This is the sixth post in a series that addresses several different ideas on how to speed up your website. This series was brought about because of Google&#8217;s new focus on how quickly webpages and websites load; by focusing, I mean that they are now saying that page load speeds are one of the factors [...]]]></description> <content:encoded><![CDATA[<p>This is the sixth post in a series that addresses several different ideas on how to speed up your website. This series was brought about because of Google&#8217;s new focus on how quickly webpages and websites load; by focusing, I mean that they are now saying that page load speeds are one of the factors they use to determine the rank of the page in the search results. Google has made it clear that page speeds are not a major factor, but it is one. Google is one reason to speed up your site as much as possible, but another is probably more important: it improves your users&#8217; experience on your site.</p><p>In this series we&#8217;ve been coving a wide range of topics:</p><ol><li><a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/" target="_self">An Overview of Site Speed</a></li><li><a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">How to find out if your web pages are too slow</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/" target="_self">How to optimize photos for faster loading</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">How to use caching and htaccess to speed up your site</a></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-how-to-compress-your-site/" target="_self">How to compress your site</a></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;">How to speed up Google Analytics using asynchronous tracking codes <em><span style="color: #ff0000;">(This post)</span></em></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>This post covers an issue that many web masters encounter: Google Analytics Javascript code slowing down your site.</p><h3>Google Analytics Slowing Down Your Website?</h3><p>For most sites, the basic answer to this question is, &#8220;Yes, it is.&#8221; Analytics works by downloading a fairly large Javascript library that powers the application. And, while this library is downloading, nothing else can happen on the page. That&#8217;s why Google recommends you put their code at the bottom of the HTML code because when a browser puts together a page, it literally goes from top to bottom. So, if Analytics&#8217; code is on the bottom it will be the last thing that loads and it won&#8217;t slow down the rest of the page.</p><h3>How To Speed Up Analytics: Asynchronous Tracking Code</h3><p>Google obviously knew that their code slowed things down. So, they came up with a solution that will speed things along. They call it <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html" target="_blank">Asynchronous Tracking</a> and it&#8217;s pretty easy to do. Asynchronous Tracking is possible because of the new HTML5 and the fact that modern browsers can download multiple files at the same time.</p><p>There is a second way that Asynchronous Tracking speeds up your site:  the new code gets all the commands ready before the Javascript finishes loading. Once the Javascript is loaded, the commands are processed and sent to Google.</p><h3>How to Install the Asynchronous Tracking Code</h3><p>It&#8217;s pretty easy to do.</p><p>First, Google recommends that you remove the old code. They don&#8217;t recommend having both codes on your pages.</p><p>Next you need to copy the code below and paste it just above the &lt;/head&gt; tag of your site. I&#8217;m assuming that the &lt;head&gt; tag is in the header file of your site which is included on every page of your site; that way you&#8217;ll only have to install it once. If that isn&#8217;t the case&#8230;it&#8217;s going to be a bit more work because you have to put the tracking code on every page.</p><p>Note: Google recommends that you put the tracking code directly above the &lt;/head&gt; tag. <del datetime="2010-04-28T14:27:47+00:00">However, this will likely break IE6. By placing it below the &lt;body&gt; tag you can still support IE6&#8230;if you want. The choice is yours.</del> <span style="color: #0000ff;">UPDATE: A Google engineer has informed us that the IE6 problems putting the code in the header were fixed after the beta version.</span> Here&#8217;s the code to put where you will:</p><blockquote><p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p><p>var _gaq = _gaq || [];<br /> _gaq.push(['_setAccount', 'UA-XXXXX-X']);<br /> _gaq.push(['_trackPageview']);</p><p>(function() {<br /> var ga = document.createElement(&#8217;script&#8217;); ga.type = &#8216;text/javascript&#8217;; ga.async = true;<br /> ga.src = (&#8217;https:&#8217; == document.location.protocol ? &#8216;https://ssl&#8217; : &#8216;http://www&#8217;) + &#8216;.google-analytics.com/ga.js&#8217;;<br /> var s = document.getElementsByTagName(&#8217;script&#8217;)[0]; s.parentNode.insertBefore(ga, s);<br /> })();</p><p>&lt;/script&gt;</p></blockquote><p>Once it&#8217;s pasted into your code, then make sure to change the UA-XXXXX-X part with your web property ID. Now save everything and you should be fine if your site is pretty basic. However, there are a couple of issues that you might need to address.</p><h3>Advanced Asynchronous Tracking</h3><p>619Cloud.com installed the Asynchronous Tracking Code and found that their event tracking and their forms that are submitted by AJAX were no longer being tracked by Analytics. They came up with the <a href="http://www.619cloud.com/google-analytics-asynchronous-events-goals/" target="_blank">solution</a> and even produced a video on how to take care of these problems simply and easily.</p><p>Justin Cutroni at Analytics Talk also addresses this issue in his <a href="http://cutroni.com/blog/2010/04/19/faster-better-stronger-the-ga-async-tracking-code/" target="_self">very good post on Asynchronous Tracking</a>. Scroll down to the <em>How to Add Items to the Queue</em> section.</p><p>Next up, we talk about how to speed up your Javascript and CSS files other than compressing them.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/2XxNKt3ZlXQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-google-analytics-asynchronous-tracking-code/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-google-analytics-asynchronous-tracking-code/</feedburner:origLink></item> <item><title>Google’s Need for Speed – How To Compress Your Site</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/3C_hvWHsqFU/</link> <comments>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-how-to-compress-your-site/#comments</comments> <pubDate>Mon, 26 Apr 2010 09:38:58 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=588</guid> <description><![CDATA[The next step in our series of how to speed up your webpages and websites is the easiest: how to turn on  compression on your web server. Turning it on will mean the web server will finish all the work faster and therefore deliver the pages more quickly to the reader.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been writing up some of the best practices I&#8217;ve found on speeding up web sites. This was brought about because several months ago Google began talking about page-load speeds might begin to play into page ranking. Their thinking was people prefer pages that load quickly, so pages that &#8220;pop&#8221; should be rewarded. These rumors and talk was made official a couple of weeks ago when Google officially announced that page loading speeds is now a consideration (one of over 200 ranking factors) on how well a page ranked in the Google search results.</p><p>Since then there&#8217;s been a flood of posts on tricks to speed up your site. My goal is to have a comprehensive series that will help web developers get all the improvements they need to be thinking about in one fell swoop. In this series we have been talking about/will talk about the following topics:</p><ol><li><a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/" target="_self">An Overview of Site Speed</a></li><li><a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">How to find out if your web pages are too slow</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/" target="_self">How to optimize photos for faster loading</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">How to use caching and htaccess to speed up your site</a></li><li><span style="color: #ff0000;"><span style="color: #000000;">How to compress your site <span style="color: #ff0000;"><em>(This post)</em></span></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-google-analytics-asynchronous-tracking-code/">How to speed up Google Analytics using asynchronous tracking codes</a></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>So, we come to the easiest step of them all&#8230; implementing compression on the web server so that pages appear more quickly for your readers. As was the case in post #4 about caching, this post will assume that you&#8217;re using an Apache server and that you know how to edit the .htaccess files on your site. (See post #4 for instructions.)</p><h3>How Does Server-Side Compression Work?</h3><p>The idea is pretty simple—follow along on the image below for a basic explanation. (If you&#8217;d like more detailed explanation, <a href="http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/" target="_blank">here&#8217;s a pretty good one</a>.): the server that is sending out the files to make the web site uses compression technology and 1) compresses the file size of all the <strong>text files</strong> that make up the website, which mainly means the HTML, the CSS, and the JavaScript. Once it compresses a file it 2) sends it out over the Internet to the reader&#8217;s browser. When the browser receives the compressed file it 3) decompresses it and uses it to display the page. This works with all modern browsers—you don&#8217;t have to worry too much about it breaking.</p><p><img class="aligncenter size-full wp-image-606" title="deflate" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/deflate.jpg" alt="deflate" width="500" height="264" /></p><p>All this means that your web server will not have to send out as much data, which means the cue of processes that need to be completed will be gotten to more quickly.</p><h3>How Do I Turn on Compression?</h3><p>Again, it&#8217;s pretty simple. Fire up your FTP client and text editor of choice and edit the .htaccess file in the root directory of your website. (See <a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">post #4</a> for more detailed instructions and warnings&#8230;) In the file you&#8217;re going to simply paste this code:</p><blockquote><p># Gzip &#8211; To compress much of what leaves the server<br /> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/x-javascript text/php</p></blockquote><p>Save the changes, make sure it hasn&#8217;t broken your site, and you&#8217;re done. If it does break your site, back the changes out and give your hosting company a call and ask them why <em>deflate</em> won&#8217;t work. This is definitely something you can push your hosting provider on&#8230;<em>deflate</em> should be turned on now more than ever with the push for speed.</p><h3>Test the Compression</h3><p><img class="size-full wp-image-607 alignright" title="compression-working" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/compression-working.jpg" alt="compression-working" width="250" height="223" />Now that you have compression turned on and your site isn&#8217;t broken, you can check and make sure the compression is actually working. GIDNetwork.com has made this easy with this <a href="http://www.gidnetwork.com/tools/gzip-test.php" target="_blank">simple tool</a>. Type your URL in, click <em>Check</em> and you&#8217;ll hopefully get something that looks like the image to the right. This is the results for our home page. In case you can&#8217;t read the numbers, we saved 68.4% with those few lines of code.</p><p>If you don&#8217;t want to use the site, and you know how to look at the headers of a website, you can just look for a line that says, “Content-encoding: gzip”.</p><h3>What Are Deflate and GZIP?</h3><p>The simple answer is <em>deflate</em> is a raw compression format, meaning it doesn&#8217;t pass along information like the file name, check values, length, etc. That&#8217;s where <em>GZIP</em> comes it. It adds all that missing stuff to the package before sending the compressed file out to the browser.</p><p>Next up in our series is how to tackle a service many websites use and don&#8217;t know slow their pages down: Google Analytics.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/3C_hvWHsqFU" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-how-to-compress-your-site/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%e2%80%93-how-to-compress-your-site/</feedburner:origLink></item> <item><title>Google’s Need for Speed – Use Cache in .htaccess to Speed Up Your Site</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/TImtsdzJSmE/</link> <comments>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/#comments</comments> <pubDate>Wed, 21 Apr 2010 14:56:04 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=541</guid> <description><![CDATA[This is the fourth in a series of about seven posts (I keep finding more info and may add a couple more posts) on how to speed up your web pages and your website in general. Speeding up sites has been in the news recently because Google has announced that page speed is now a factor [...]]]></description> <content:encoded><![CDATA[<p>This is the fourth in a series of about seven posts (I keep finding more info and may add a couple more posts) on how to speed up your web pages and your website in general. Speeding up sites has been in the news recently because Google has announced that page speed is now a factor in how well that page will rank for keywords. Even though Google has made it clear that page speed isn&#8217;t going to move your page from position 38 to position 4 in search results, it is still worth while to consider page speed because of the benefit it gives your readers. It&#8217;s simple&#8230;people like websites and web pages that load quickly more than those that load slowly. (Yes&#8230;people have done studies on this!)</p><p>In this series we have been talking about/will talk about the following topics:</p><ol><li><a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/" target="_self">An Overview of Site Speed</a></li><li><a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">How to find out if your web pages are too slow</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/" target="_self">How to optimize photos for faster loading</a></li><li>How to use caching and htaccess to speed up your site <em><span style="color: #ff0000;">(This post)</span></em></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-how-to-compress-your-site/" target="_self">How to compress your site </a></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-google-analytics-asynchronous-tracking-code/">How to speed up Google Analytics using asynchronous tracking codes</a></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>In this post we&#8217;re going to talk about how to use browser caching and htaccess to speed up your site. Caching and htaccess go hand-in-hand because it&#8217;s htaccess that best controls the caching. Let&#8217;s take a look at what each are and then get into speeding up your site:</p><h3>Browser Caching</h3><h4>What&#8217;s Browser Caching?</h4><p>In general a cache is a hidden storage space. On the web, browsers have caches (hidden storage areas on the hard disk) that hold files so they can be reused as often as needed. An example is logos: most websites have some type of logo in the header, which means it shows up exactly the same on every page of the site. If the website is made correctly and your browser is set correctly, the first time you come to the page it puts a copy of the logo in the cache for later use. As you click around the website, the browser finds that the logo is supposed to be displayed on the top of each page. Instead of asking the website&#8217;s server for a copy of the logo for each page you go to, the browser instead just grabs a copy of the logo out of the cache on the hard disk.</p><p>Caching is not just for images however. It&#8217;s especially important for our conversation today that CSS and JavaScript files are cached. Basically any type of file that makes up a website can be cached, but as we&#8217;ll see below, they are not all cached for the same length of time.</p><p>As you&#8217;ve probably guessed, there are two reasons browsers use caches:</p><ol><li>Speed Up Web Pages<br /> It is much, much faster for the browser to access the files.</li><li>Reduce Network Bandwidth Use<br /> Downloading one copy of the website logo instead of one for each of the 10 pages you go to saves a lot of bandwidth.</li></ol><h4>What Files Should Be Cached and For How Long?</h4><p>In my example above, I made it pretty clear that it&#8217;s a good idea to cache images, especially those that are used repeatedly on the site. However, there are many types of files that benefit the site if they are cached properly. Some files change rarely and other change more often, so it&#8217;s important to cache them for different lengths of time. However, for the cache to be useful, it must be at least two hours. Here are some common suggestions:</p><ul><li><strong>4 Hours</strong>: HTML files</li><li><strong>2 Days:</strong> XML and TXT files</li><li><strong>1 Year:</strong> ICO, PDF, FLV, JPG, JPEG, PNG, GIF, JS, CSS, and SWF files</li></ul><h3>.htaccess</h3><h4>What&#8217;s htaccess?</h4><p>This post assumes your website is hosted on a server that is using <a href="http://www.apache.org" target="_blank">Apache</a> to serve webpages. If you aren&#8217;t using Apache, much of this post will not apply to you because you can&#8217;t use htaccess.</p><p>So, what is htaccess? It&#8217;s an invisible configuration file that is placed in directories of the website. You put commands in the file and Apache then carries out those commands as it is sending out the webpages. In this post we&#8217;re going to be learning commands that control how the Apache server uses HTTP caching to speed up your site and reduce how much bandwidth your site uses.</p><h4>How to Get to the .htaccess File</h4><p>As I said above, the htaccess file is an invisible file. This means that unless you know what you&#8217;re doing, you can&#8217;t even see this file.  Most people will be accessing the file via FTP. Most good FTP clients will have an option on them somewhere (often in a &#8220;View&#8221; pulldown menu or in the applications settings) that says something like &#8220;View invisible files&#8221; or &#8220;Hide/Unhide Invisibles.&#8221; You&#8217;ll need to find this option and set your FTP client so you can see invisible files. When you arrive at the root directory for your website, you will possibly find a file at the top of the file list named, &#8220;.htaccess&#8221;.  This is the file you want to edit.</p><p>If you don&#8217;t find one, you&#8217;ll need to make one. Using your FTP client, create a new text file and name it, &#8220;.htaccess&#8221;. <strong><em>NOTE:</em></strong><em> There is no file extension and the name starts with a dot. </em>Now you can edit that file and make the magic that&#8217;s in the rest of this post.</p><p>Please note a couple of things:</p><ol><li>Not all Apache servers are configured the same by web hosting companies. Hosting companies, for reasons they often can&#8217;t explain, don&#8217;t have all the features needed for this post turned on. If your hosting company doesn&#8217;t have them turned on, I encourage you to call and ask that they be turned on. You are standing on firm ground asking them to turn them on because everything in this post is now needed for a properly functioning website.</li><li>Playing with your htaccess file can cause problems. Generally all that will happen is you&#8217;ll save your changes, then go refresh your website and find that you&#8217;re getting an error. All you need to do is remove the changes you made to the .htaccess file and re-save it and the site will come back. Double check to make sure you&#8217;ve put the code in correctly. If you have, this means that your hosting company probably does not support the Apache function you&#8217;re trying to use.</li></ol><h3>How to Use Caching to Speed Up Your Site</h3><h4>1. Do <span style="text-decoration: underline;">NOT</span> Use HTML Meta Tags To Control Caching</h4><p>Long, long ago in a web far, far away there was a technique that used an an HTML meta tag that looked something like this:</p><pre style="padding-left: 30px; ">&lt;META HTTP-EQUIV="EXPIRES" CONTENT="Fri, 22 Jul 2015 00:00:01 GMT"&gt;</pre><p>This is trying to tell the browser that it should not need to get new content about this page until the year 2022, and so it should cache everything. There are many problems with this, the biggest being that most browsers don&#8217;t pay any attention to this tag any longer. And, if they happened to read them, you have no control over what types of files should be cached.</p><h4>2. Use HTTP Future Expire Headers and Cache-Control</h4><p>There are two options to control caching of your site, the <em>Expires</em> header and the <em>Cache-Control</em> header. What&#8217;s the difference? PeterBe explains it quite <a href="http://www.peterbe.com/plog/cache-control_or_expires" target="_blank">bluntly here</a>, but in my words, the <em>Expires</em> header works with older HTTP 1.0 browsers; <em>Cache-Control</em> is the more modern system and works with HTTP 1.1 compliant browsers.</p><p>So, should you use <em>Expires</em> or <em>Cache-Control</em>? The answer is, use both of them. Older browsers will ignore<em> Cache-Control</em> and use <em>Expires</em>. Modern browsers will override <em>Expires</em> and use <em>Cache-Control</em>.</p><h4>Setting Up Expire HTTP Headers</h4><p>Setting <em>Expire</em> headers is quite simple. You open up the .htaccess file in the root directory of your website and paste in the text below:</p><pre style="padding-left: 30px; "># Set Expires Headers
&lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"&gt;
Header set Expires "Thu, 15 Jan 2015 20:00:00 GMT"
&lt;/FilesMatch&gt;</pre><p>This is telling the browser to try to use cached copies of all ico, pdf, flv, jpg, jpeg, png, gif, js, css, and swf files until 2015. The expiration date must be a fixed date, so if you don&#8217;t expect these files to change you&#8217;ll want to set it far into the future or you&#8217;ll need to put a reminder in your calendar to update your <em>Expires</em> header before it expires.</p><h4>Setting Up Cache-Control Headers</h4><p>The cache-control headers give you a lot more power. They allow you to set when you want particular types of files to expire by changing the number of seconds since the file was first cached until it expires.</p><pre style="padding-left: 30px; "># Set the cache-control max-age
# 1 year
&lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"&gt;
Header set Cache-Control "max-age=31449600, public"
&lt;/FilesMatch&gt;
# 2 DAYS
&lt;FilesMatch "\.(xml|txt)$"&gt;
Header set Cache-Control "max-age=172800, public, must-revalidate"
&lt;/FilesMatch&gt;
# 4 HOURS
&lt;FilesMatch "\.(html|htm)$"&gt;
Header set Cache-Control "max-age=14400, must-revalidate"
&lt;/FilesMatch&gt;</pre><h4>3. Remove ETags and Last Modified</h4><p>Above we&#8217;ve done everything needed to speed up your website by using caching. However, there are a couple of other options to accomplish caching: <em>ETags</em> and <em>Last Modified</em> which basically accomplish the same thing but don&#8217;t need to be used. As AskApache said in his <a href="http://www.askapache.com/htaccess/apache-speed-last-modified.html" target="_blank">fantastic posts on caching</a>:</p><blockquote><p><strong>If you remove the <code style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: 400; font-style: normal; font-size: 13px; font-family: monaco, 'courier new', monospace; vertical-align: baseline; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; padding-left: 3px; border-bottom-style: solid; border-bottom-color: transparent; font-variant: normal; cursor: help; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fefefe; background-position: initial initial; background-repeat: initial initial; margin: 0px;">Last-Modified</code> <em>and</em> <code style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: 400; font-style: normal; font-size: 13px; font-family: monaco, 'courier new', monospace; vertical-align: baseline; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; padding-left: 3px; border-bottom-style: solid; border-bottom-color: transparent; font-variant: normal; cursor: help; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fefefe; background-position: initial initial; background-repeat: initial initial; margin: 0px;">ETag</code> header</strong>, you will totally eliminate <code style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: 400; font-style: normal; font-size: 13px; font-family: monaco, 'courier new', monospace; vertical-align: baseline; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; padding-left: 3px; border-bottom-style: solid; border-bottom-color: transparent; font-variant: normal; cursor: help; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fefefe; background-position: initial initial; background-repeat: initial initial; margin: 0px;">If-Modified-Since</code> and <code style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: 400; font-style: normal; font-size: 13px; font-family: monaco, 'courier new', monospace; vertical-align: baseline; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; padding-left: 3px; border-bottom-style: solid; border-bottom-color: transparent; font-variant: normal; cursor: help; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fefefe; background-position: initial initial; background-repeat: initial initial; margin: 0px;">If-None-Match</code> requests and their <code style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: 400; font-style: normal; font-size: 13px; font-family: monaco, 'courier new', monospace; vertical-align: baseline; padding-top: 1px; padding-right: 3px; padding-bottom: 1px; padding-left: 3px; border-bottom-style: solid; border-bottom-color: transparent; font-variant: normal; cursor: help; color: #333333; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #fefefe; background-position: initial initial; background-repeat: initial initial; margin: 0px;">304 Not Modified</code> Responses, so <strong>a file will stay cached without checking for updates until the Expires header indicates</strong> new content is available!</p></blockquote><p>Because we&#8217;re now using <em>Cache-Control</em> and <em>Expires</em>, there is no need for these other two, except for HTML documents, where one of them should be left on.</p><p>Another reason to use <em>Cache-Control</em> and <em>Expires</em> instead of <em>ETags </em>and<em> <em>Last Modified</em></em> is because more and more hosting companies are using cluster (cloud) servers. <em>ETags </em>and<em> <em>Last Modified</em></em> only work if the file that is being tagged comes from the exact same server. If your host is using a cluster of servers, the <em>ETags </em>and<em> <em>Last Modified</em></em> will not work, but <em>Cache-Control</em> and <em>Expires</em> will.</p><h4>How to Remove ETags and Last Modified</h4><p>Simply copy and paste the below text into your .htaccess file, save it, and then check to make sure it didn&#8217;t break your site (it could depending on the Apache setup). If it breaks anything, simply undo the changes and save the old version again.</p><pre style="padding-left: 30px; "># Turn off the ETags
Header unset ETag
FileETag None

# Turn off the Last Modified header except for html docs
&lt;FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css)$"&gt;
Header unset Last-Modified
&lt;/FilesMatch&gt;</pre><h3>Use .htaccess to Speed Up WordPress</h3><p>Since you&#8217;re in .htaccess already, you might want to check out a post I wrote a while back about how to <a href="http://www.chicagostyleseo.com/2010/02/speed-up-the-rewrite-engine-for-wordpress/" target="_self">speed up the WordPress rewrite engine</a> for optimized URLs. If you&#8217;re using WordPress and are using optimized (readable) URLs, this little change to your .htaccess file can speed up your site considerably.</p><p>The next post in this series will be much shorter&#8230;how to set up .htaccess so text-based files will be compressed on the web server so it will</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/TImtsdzJSmE" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/feed/</wfw:commentRss> <slash:comments>5</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/</feedburner:origLink></item> <item><title>Google’s Need for Speed – Optimize Photos for Fast Loading</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/lbJA0kAKYhY/</link> <comments>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/#comments</comments> <pubDate>Mon, 12 Apr 2010 15:15:43 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=512</guid> <description><![CDATA[This is the third in a series of seven or so (you never know, we might more to write about) posts on how to speed up your web pages and your website in general. A lot more attention has been paid to site speed by the SEO community because Google began talking about how they planned [...]]]></description> <content:encoded><![CDATA[<p>This is the third in a series of seven or so (you never know, we might more to write about) posts on how to speed up your web pages and your website in general. A lot more attention has been paid to site speed by the SEO community because Google began talking about how they planned to put more emphasis on it. All of this talk and speculation was <a href="http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html" target="_blank">confirmed by Google</a> last week when they officially announced that they are including site speed as a ranking factor. So, this series of posts is officially no longer about what <em>might happen</em> and is about <em>what is happening now</em>.</p><p>In this series we have been talking about/will talk about the following topics:</p><ol><li><a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/" target="_self">An Overview of Site Speed</a></li><li><a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">How to find out if your web pages are too slow</a></li><li>How to optimize photos for faster loading <em><span style="color: #ff0000;">(This post)</span></em></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">How to use caching and htaccess to speed up your site</a></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-how-to-compress-your-site/" target="_self">How to compress your site </a></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-google-analytics-asynchronous-tracking-code/">How to speed up Google Analytics using asynchronous tracking codes</a></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>So, now that we know that a page&#8217;s load speed impacts how Google ranks it, let&#8217;s look at one of the main culprits in slowing down pages: <strong>images</strong>, like this flower&#8230;<span id="more-512"></span></p><p><img class="size-full wp-image-531 alignnone" title="flower" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/flower.jpg" alt="flower" width="100" height="102" /></p><h3>Optimize Photos&#8217; File Size, File Type, and Image Dimensions</h3><h4>Finding Problem Photos?I Like Google Page Speed</h4><p>In Part 2 of this series, I listed a few <a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">tools to help find what factors are slowing down your website</a>: Yahoo&#8217;s Yslow and Google&#8217;s Page Speed and Speed Tracer. Of these tools, I&#8217;ve found that Google&#8217;s Page Speed gives you simple and solid diagnosis of a page&#8217;s images. Here&#8217;s a screen shot of the previous post in this series before I optimized it as seen through Google Page Speed inside Firebug, a Firefox plugin:</p><p><img class="aligncenter size-full wp-image-519" title="google-page-speed-looking-at-previous-post-image" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/google-page-speed-looking-at-previous-post-image.jpg" alt="google-page-speed-looking-at-previous-post-image" width="510" height="439" /></p><p>If you have images that are not properly sized, you&#8217;ll see a red exclamation point with the title, &#8220;Serve scaled images.&#8221; This is Google Page Speed telling you to serve scaled images rather than the overly large ones you&#8217;re serving now. In the example above  the original image was 197KB and 720px x 583px. Page Speed shows that the image is being displayed at 504px x 408px. It also shows that just by reducing the size of the image, the image will be 123.2KB smaller. And, there&#8217;s probably more savings to be had by optimizing the compressin of the image and the file type.</p><p>So&#8230;let&#8217;s fix it!</p><h4>Using Photoshop</h4><p>If you&#8217;re lucky enough to have a copy of Photoshop, you have an amazing tool to help you optimize your photos. (If you don&#8217;t have Photoshop, skip down to the next section for a free alternative.)</p><ol><li>Click on the handy link in Google Page Speed of the first problem image. It pops open a window with just the overly large image in it, making it easy to right click on the image and save it so you can work with it.</li><li>Save the image using Photoshop&#8217;s &#8220;Save for Web &amp; Devices&#8230;&#8221; option under the &#8220;File&#8221; menu. This allows you to do everything you need to do in one spot: resize the photo and then optimize it by trying different file types and compression levels:<br /> <img class="aligncenter size-full wp-image-520" title="4-up-photoshop-web-image-optimizer" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/4-up-photoshop-web-image-optimizer.jpg" alt="4-up-photoshop-web-image-optimizer" width="510" height="421" /><br /> In the screen shot above you can see in the upper left corner I&#8217;ve selected the &#8220;4-Up&#8221; tab. This displays four different views of the image, each with a different quality levels so it&#8217;s easy to see which level will strike the best  balance between saving file size and displaying the level of quality needed in the photo.In the lower right corner is the photo resizer. Simply type in the size Google Page Speed indicates is the display size. And, in the upper right corner I have several tools that allow me to try different file types and quality levels. The presets allow you to see what your image will look like in GIF, various JPG levels, PNG etc. There is no harm in playing with these to see what is your best combination.</li><li>Click &#8220;Save&#8221; and then upload the new optimized image to your website.</li></ol><h4>Using Picnik</h4><p>Don&#8217;t have Photoshop? That&#8217;s no problem; there are quite a few online applications that allow you to do basically the same thing but for free. A favorite of mine is <a href="http://www.picnik.com" target="_blank">Picnik</a>. It&#8217;s free and you don&#8217;t even have to register if you don&#8217;t want to.</p><ol><li>After going to Picnik.com, click on the &#8220;Upload&#8221; button and upload the photo from your hard drive. The image will appear in an editing window where you can crop, resize, remove red eye, and several other normal photo editing operations. You can resize the photo in this Editing tab or in the next step.<br /> <img class="aligncenter size-full wp-image-522" title="picnik-editing-tab" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/picnik-editing-tab.jpg" alt="picnik-editing-tab" width="500" height="389" /></li><li>Click on the &#8220;Save &amp; Share&#8221; tab and the below window will be displayed.<br /> <img class="aligncenter size-full wp-image-523" title="picnik-save-tab" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/picnik-save-tab.jpg" alt="picnik-save-tab" width="500" height="389" /> In this window you can do everything you need: resize the photo, change the file format with some handy guides for what type of format is best for what type of images, and the compression/quality level if you select JPEG. When you&#8217;re done adjusting, you click the &#8220;Save Photo&#8221; button to save the optimized photo to your computer.</li></ol><p>Picnik is amazing for a free online application, but it does have some limitations when compared to Photoshop. The biggest issue I found is that it doesn&#8217;t give you a preview for each file format and compression level choice. So, you have to save the photo and open it up on your computer to see if you like the quality or not. However, this is certainly a small problem when compared to the price of Photoshop!</p><h4>Yahoo Smush It</h4><p>From the <a href="http://www.smushit.com/ysmush.it/" target="_blank">Smush It</a> page:</p><blockquote><p>Smush.it uses optimization techniques specific to image format to remove unnecessary bytes from image files. It is a &#8220;lossless&#8221; tool, which means it optimizes the images without changing their look or visual quality. After Smush.it runs on a web page it reports how many bytes would be saved by optimizing the page&#8217;s images and provides a downloadable zip file with the minimized image files.</p></blockquote><p>We have been testing this tool on some of the images on our site and are seeing roughly a 5-10% decrease in file size. That is pretty good considering we have already optimized them using the tools above! Yahoo has made this tool very handy with options to load images from your computer or just use URLs, there is also an option to download them with the original directory structure, very handy for doing large batches all at once.</p><h3>Use Image Sprites to Reduce the Number of Small Images</h3><p>In the old, old, old days, to layout a page that had a list of icons like what you see below, developers likely would have had each icon as a separate image inside a cell of a table.</p><p><img class="aligncenter size-full wp-image-526" title="icons-using-image-sprites" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/icons-using-image-sprites.jpg" alt="icons-using-image-sprites" width="500" height="353" /></p><p>In today&#8217;s web development world that old strategy would be considered heresy. All professional web developers now have replaced table-based layout with CSS, but many have not caught on to the problems associated with dozens of small images, like the icons above or as are often used in navigation. The problem is if all the images above are separate files, there is one http call to the server for each image&#8230;and those http calls stack up very quickly. The http calls are put into a cue, slowing down the speed at which the page can load&#8230;no matter how small the images are.</p><p>There is a better way: image sprites.</p><p><img class="aligncenter size-full wp-image-529" title="feature_amenities_icons" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/04/feature_amenities_icons.jpg" alt="feature_amenities_icons" width="500" height="16" /></p><p>An image sprite is one image that contains many different images. Using CSS, the image can then be used as a background image and positioned so only one image appears at a time, exactlly where it&#8217;s needed. This means that just one image is downloaded so the server and used repeatedly; this leaves the server to move on to other tasks and get the page loaded far more quickly.</p><h3 style="font-size: 1.17em;">Setting Image Expiration</h3><p>The last important step to consider when optimizing photos is to control the caching of the image: how long the image will be saved in the browser&#8217;s cache before it is updated. This speeds up your entire site and for repeat visitors. And, this is the topic we&#8217;ll cover in depth the next post.</p><h3>Wrapping Image Optimization Up</h3><p>You now have powerful tools to speed the images up on your pages and get the search engines to sing your praises. In the next post I&#8217;ll take a look at how caching as much of your page as possible will speed up the whole site.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/lbJA0kAKYhY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/feed/</wfw:commentRss> <slash:comments>5</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/</feedburner:origLink></item> <item><title>Google’s Need for Speed – How To Know If Your Site Is Slow</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/kC807xlHqKY/</link> <comments>http://www.chicagostyleseo.com/2010/03/caffeine%e2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/#comments</comments> <pubDate>Thu, 18 Mar 2010 16:57:48 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=471</guid> <description><![CDATA[This is the second of several posts addressing issues around Google&#8217;s announcement that they are releasing a new architecture (called Caffeine) for their web search and their emphasis in conjunction with Caffeine&#8217;s release of how quickly web pages load. In the series we will be looking at:An Overview of Site Speed How to find out if your [...]]]></description> <content:encoded><![CDATA[<p>This is the second of several posts addressing issues around Google&#8217;s announcement that they are releasing a new architecture (called Caffeine) for their web search and their emphasis in conjunction with Caffeine&#8217;s release of how quickly web pages load. In the series we will be looking at:</p><ol><li><a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/" target="_self">An Overview of Site Speed</a></li><li>How to find out if your web pages are too slow <em><span style="color: #ff0000;">(This post)</span></em></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/" target="_self">How to optimize photos for faster loading</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">How to use caching and htaccess to speed up your site</a></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-how-to-compress-your-site/" target="_self">How to compress your site </a></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-google-analytics-asynchronous-tracking-code/">How to speed up Google Analytics using asynchronous tracking codes</a></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>A site that loads quickly will have a better chance of ranking toward the top of the search results than a slow site. This leads to an obvious question&#8230;</p><h3>What Does &#8220;Slow&#8221; Mean For Web Pages?</h3><p>Google has made it clear that any process that takes more than 100 milliseconds (1/10 of a second) is too long. Each web page can be made up of dozens or even hundreds of processes, so every millisecond counts. Examples of process include: fetching files like the main content of the page, calling for and downloading: 1) any CSS files used to layout the content, 2) any images on the page, 3) any JavaScript on the page, and on and on. There are a lot of processes that go into making any web page; the goal is to make all these processes as optimized as possible so when they are all added together the page is snappy.</p><h3 style="font-size: 1.17em;">How Do You Know If Your Website Is Slow?</h3><p><span id="more-471"></span>Google and other tool makes have made some very easily used tools that not only let you know what problems your pages have, they also point you in the direction of how to fix them. Let&#8217;s take a look at a couple of the best, or you can go to the bottom of the page and watch our movie on the topic, then come back here for the details:</p><h4>YSlow by Yahoo</h4><p>Yahoo&#8217;s <a href="http://www.pseudocoder.com/archives/yslow-battle" target="_blank">YSlow</a> is a simple, elegant tool that will point out speed problems on your pages. To download it you will need to:</p><ol><li><a href="http://www.mozilla.com/en-US/firefox/personal.html" target="_blank">Download Firefox</a> browser for free (if you don&#8217;t already have it).</li><li><a href="http://getfirebug.com/" target="_blank">Download Firebug</a> extension for Firefox (using Firefox that you just downloaded) for free.</li><li><a href="http://developer.yahoo.com/yslow/" target="_blank">Download YSlow</a> (again using Firefox) for free.</li></ol><p>You now have a powerful tool to check out the speed performance of your web pages. Here, in brief, is how you use it.</p><ol><li>Load the page you want to test inside your Firefox browser.</li><li>Click on the YSlow button in the application tray in the bottom right corner of the Firefox window. (See picture below.)<br /> <img class="size-full wp-image-473 aligncenter" title="Yahoo-YSlow-On-Button" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/Yahoo-YSlow-On-Button.jpg" alt="Yahoo-YSlow-On-Button" width="337" height="114" /></li><li>The bottom part of your browser will display the Firebug environment (in the red box in the picture below) and the YSlow tab will be selected. Click on the &#8220;Run Test&#8221; button.<img class="size-full wp-image-474 aligncenter" title="Screen shot 2010-03-17 at 11.06.25 AM" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/Screen-shot-2010-03-17-at-11.06.25-AM.jpg" alt="Screen shot 2010-03-17 at 11.06.25 AM" width="461" height="373" /></li><li>YSlow will grind away and then display information on your page. In the upper left corner it gives the page a letter grade A through F. If your site is so bad that it doesn&#8217;t even deserve an F, then the score is an E. It also gives you a letter grade on the processes that were necessary to generate the page.<p style="text-align: center;"><p style="text-align: center;"><img class="size-full wp-image-476  aligncenter" title="Details of the YSlow Tool" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/Screen-shot-2010-03-17-at-11.50.27-AM.jpg" alt="Details of the YSlow Tool" width="554" height="323" /></p></li><li>If you click on a process, details of what YSlow found will appear on the right.</li><li>There are three other tabs for you to explore as well: Components will give you a breakdown of the how many kilobytes each of the parts of your page is; Statistics will give you a breakdown of how many kilobytes the page is if the cache is empty and how many kilobytes if the cache is primed; Tools gives you recommendations on what tools to use to fix the problems you have.</li></ol><h3>Google&#8217;s Page Speed</h3><p>Google made a simple tool called Page Speed that is very similar to Yahoo&#8217;s YSlow. Like YSlow, it runs inside of Firebug (which runs inside of the Firefox browser). Installation is nearly identical to YSlow:</p><ol><li><a href="http://www.mozilla.com/en-US/firefox/personal.html" target="_blank">Download Firefox</a> browser for free (if you don&#8217;t already have it).</li><li><a href="http://getfirebug.com/" target="_blank">Download Firebug</a> extension for Firefox (using Firefox that you just downloaded) for free.</li><li><a href="http://code.google.com/speed/page-speed/download.html" target="_blank">Install PageSpeed</a> (while using Firefox) for free.</li></ol><p>You now have another very powerful application to diagnose what is causing your pages to lag. Here&#8217;s how you use it:</p><ol><li>Load the page you want to test inside your Firefox browser.</li><li>Click on the Firebug button in the application tray in the bottom right corner of the Firefox window. (See picture below.)<br /> <img class="aligncenter size-full wp-image-477" title="How To Launch Firebug" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/Screen-shot-2010-03-17-at-1.36.06-PM.png" alt="How To Launch Firebug" width="289" height="174" /></li><li>Just like with YSlow, the lower part of your browser window will become the Firebug application. Make sure to click on the &#8220;Page Speed&#8221; tab (see picture below) and then click on the &#8220;Analyze Performance&#8221; button.<img class="aligncenter size-full wp-image-478" title="Google's Page Speed in Action" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/google-page-speed-looking-at-techcrunch.jpg" alt="Google's Page Speed in Action" width="546" height="416" /></li><li>Page Speed will go out and collect all the data it needs to analyze the page. It will return and give the page a score between 0 and 100 and a list of what it thinks of all the various processes. The problem processes will be at the top of the list with red exclamation points, followed by issues it thinks you should address with yellow warning symbols. The things it thinks you&#8217;re doing right will be at the bottom of the page with a green check mark. To see details of the process, simply click on the triangle to the left.<br /> <img class="aligncenter size-full wp-image-479" title="Google's Page Speed Results" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/03/Screen-shot-2010-03-17-at-2.28.22-PM.png" alt="Google's Page Speed Results" width="492" height="365" /></li><li>If you click on the &#8220;Resources&#8221; tab at the top, you will be able to see a lot more information about the items on the page, including the HTTP headers for each of them.</li><li>A final comment: <a href="http://www.seroundtable.com/archives/021292.html" target="_blank">Page Speed is also available in Google&#8217;s Webmaster Tools</a> if you have signed up for it.</li></ol><h3>Google Speed Tracer</h3><p>The two above applications are great for letting you know where you need to spend your time and effort. But if you want even more detailed information on what is happening with your web page, Google has developed <a href="http://blog.searchenginewatch.com/091209-113037" target="_blank">Speed Tracer</a>, an amazing, free application that tells you exactly how many milliseconds each process is taking. Unlike the two applications above, it  runs in <a href="http://www.google.com/chrome" target="_blank">Google&#8217;s Chrome</a> browser, not in Firefox.</p><p>Visit <a href="http://code.google.com/webtoolkit/speedtracer/" target="_blank">Google&#8217;s Speed Tracer page</a> to download the application, watch videos of it in action, and for all the information you need to make use of it.</p><h3>How Do I Speed Up My Pages?</h3><p>That is what we will address in our next post. And we&#8217;ll start with images and how to optimize them not only for speed, but also for indexing.</p><h3>A Video Summary of Three Tools to Measure Web Page Speed</h3> <object width="400" height="280"><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10258241"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="never"></param><param name="allownetworking" value="internal"></param><param name="flashvars" value="" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10258241" type="application/x-shockwave-flash" allowscriptaccess="never" allownetworking="internal" allowfullscreen="true" width="400" height="280" flashvars=""></embed></object> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/kC807xlHqKY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/03/caffeine%e2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/feed/</wfw:commentRss> <slash:comments>5</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/03/caffeine%e2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/</feedburner:origLink></item> <item><title>Google’s Need for Speed – An Overview</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/Q_g_HymAbgk/</link> <comments>http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/#comments</comments> <pubDate>Tue, 16 Mar 2010 14:04:22 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=464</guid> <description><![CDATA[In August of 2009 Google began talking about releasing Caffeine on the world (or at least the world of people that use and count on Google). What&#8217;s Caffeine? According to Google it&#8217;s their &#8220;next-generation architecture for Google?s web search.&#8221; This means Google is looking at changing how they index the Internet and they are reevaluating [...]]]></description> <content:encoded><![CDATA[<p>In August of 2009 Google began talking about releasing Caffeine on the world (or at least the world of people that use and count on Google). What&#8217;s Caffeine? According to Google it&#8217;s their &#8220;<a href="http://googlewebmastercentral.blogspot.com/2009/08/help-test-some-next-generation.html" target="_blank">next-generation architecture for Google?s web search</a>.&#8221; This means Google is looking at changing how they index the Internet and they are reevaluating the factors that they use to determine which websites rank for which keywords. Their stated goal is to give better, more relevant search results even faster to their users.</p><p>This is not the first time this has happened. Google has to keep up with the changes in how people use the Internet and they have to keep up with spammers. Every time they release a new algorithm, its impact is not only felt by the SEO world, but by everyone who uses Google.</p><p>In general Google  doesn&#8217;t do a lot of talking about how they determine which pages rank for which keywords. However, with Caffeine they have been down right chatty. They have been very frank that some ranking factors will take on a much more important role in results: they are very blunt that they are <a href="http://www.chicagostyleseo.com/2009/12/expanded-google-personalized-search-what-does-it-mean-for-seo/" target="_self">moving toward personalizing the search results</a> based on the user&#8217;s past activity on Google. They have also been clear that activity in the social media world will have an impact on your page&#8217;s place on the search engine results page (SERPs).</p><h3>How Fast is Your Web Page?</h3><p>A somewhat new factor in determining the SERPs that Google announced is how quickly a page loads. Google is now looking at how quickly the web page appears in the searcher&#8217;s browser. The faster it appears in the browser, the better. They have also stated over and over that no single process should take more than 100 milliseconds (1/10 of a second), and the faster the whole page loads, the better its chance of ranking. Their goal is to push people to make the Internet faster.</p><p>In a small series of posts we are going to address how to get your arms around this topic and then some of the major areas that impact the speed of your web pages. We plan to talk about how to:</p><ol><li>An Overview of Site Speed <em><span style="color: #ff0000;">(This post)</span></em></li><li><a href="http://www.chicagostyleseo.com/2010/03/caffeine%E2%80%99s-need-for-speedhow-to-know-if-your-site-is-slow/" target="_self">How to find out if your web pages are too slow</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-optimize-photos-for-fast-loading/" target="_self">How to optimize photos for faster loading</a></li><li><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-use-cache-and-htaccess-to-speed-up-your-site/" target="_self">How to use caching and htaccess to speed up your site</a></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-how-to-compress-your-site/" target="_self">How to compress your site </a></span></span></li><li><span style="color: #ff0000;"><span style="color: #000000;"><a href="http://www.chicagostyleseo.com/2010/04/googles-need-for-speed-%E2%80%93-google-analytics-asynchronous-tracking-code/">How to speed up Google Analytics using asynchronous tracking codes</a></span></span></li><li>How to speed up your JavaScript and CSS <em><span style="color: #ff0000;">(Coming Soon)</span></em></li></ol><p>So, leave us a comment below if you have any special questions and we&#8217;ll try to work them in!</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/Q_g_HymAbgk" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/feed/</wfw:commentRss> <slash:comments>6</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/</feedburner:origLink></item> <item><title>Keywords: The Key to Internet Marketing</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/L5jRTuKFWqk/</link> <comments>http://www.chicagostyleseo.com/2010/02/keywords-the-key-to-internet-marketing/#comments</comments> <pubDate>Fri, 26 Feb 2010 21:23:46 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[Company News]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=459</guid> <description><![CDATA[I was asked to write a guest post on Hostway&#8217;s wonderful online business guide: Web Resources. In my post I talk about the importance of keywords, how to do keyword research, and how to apply what you find. Take a look and leave a comment either here or on Web Resources. I&#8217;d love to hear what you think [...]]]></description> <content:encoded><![CDATA[<p>I was asked to write a guest post on Hostway&#8217;s wonderful <a href="http://www.hostway.com/web-resources/" target="_blank">online</a><a href="http://www.hostway.com/web-resources/"> business guide</a><a href="http://www.hostway.com/web-resources/" target="_blank">: Web Resources</a>.</p><p>In my post I talk about the importance of keywords, <a href="http://www.hostway.com/web-resources/drive-traffic/search-engine-traffic/keywords-your-internet-marketing-foundation-and-map/" target="_blank">how to do keyword research</a>, and how to apply what you find.</p><p>Take a look and leave a comment either here or on Web Resources. I&#8217;d love to hear what you think and hear any suggestions you might have.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/L5jRTuKFWqk" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/02/keywords-the-key-to-internet-marketing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/02/keywords-the-key-to-internet-marketing/</feedburner:origLink></item> <item><title>Speed Up the Rewrite Engine for WordPress</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/uAqouW6sGjc/</link> <comments>http://www.chicagostyleseo.com/2010/02/speed-up-the-rewrite-engine-for-wordpress/#comments</comments> <pubDate>Mon, 15 Feb 2010 16:05:59 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[On Site SEO]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=452</guid> <description><![CDATA[While reading Michael Gray&#8217;s post on WordPress&#8217; scalability, I followed this link to a webmasterworld.com forum on WordPress&#8217; default .htaccess code. jdMorgan replied to thread with a whole new set of code to replace the .htaccess file that WordPress installs to optimize the URLs in a blog. jdMorgan had rewritten the .htaccess code in order [...]]]></description> <content:encoded><![CDATA[<p>While reading Michael Gray&#8217;s post on <a href="http://www.wolf-howl.com/seo/wordpress-for-seo/" target="_blank">WordPress&#8217; scalability</a>, I followed <a href="http://www.webmasterworld.com/apache/4053973.htm">this link</a> to a webmasterworld.com forum on WordPress&#8217; default .htaccess code. <a href="http://www.webmasterworld.com/profilev4.cgi?action=view&amp;member=jdMorgan" target="_blank">jdMorgan</a> replied to thread with a whole new set of code to replace the .htaccess file that WordPress installs to optimize the URLs in a blog. jdMorgan had rewritten the .htaccess code in order to,</p><blockquote><p>&#8230;fix several performance-affecting problems. Notably, the unnecessary and potentially-problematic &lt;IfModule&gt; container is completely removed, and code is added and re-structured to both prevent completely-unnecessary file- and directory- exists checks and to reduce the number of necessary -exists checks to one-half the original count (due to the way mod_rewrite behaves recursively in .htaccess context).</p></blockquote><p>Without further ado, here is jdMorgan&#8217;s new code to completely replace what WordPress automatically installs:</p><blockquote><p># BEGIN WordPress<br /> #<br /> RewriteEngine on<br /> #<br /> # Unless you have set a different RewriteBase preceding this point,<br /> # you may delete or comment-out the following RewriteBase directive<br /> # RewriteBase /<br /> #<br /> # if this request is for &#8220;/&#8221; or has already been rewritten to WP<br /> RewriteCond $1 ^(index\.php)?$ [OR]<br /> # or if request is for image, css, or js file<br /> RewriteCond $1 \.(gif|jpg|ico|css|js)$ [NC,OR]<br /> # or if URL resolves to existing file<br /> RewriteCond %{REQUEST_FILENAME} -f [OR]<br /> # or if URL resolves to existing directory<br /> RewriteCond %{REQUEST_FILENAME} -d<br /> # then skip the rewrite to WP<br /> RewriteRule ^(.*)$ &#8211; [S=1]<br /> # else rewrite the request to WP<br /> RewriteRule . /index.php [L]<br /> #<br /> # END wordpress</p></blockquote><h3>Our Unofficial Results</h3><p>I&#8217;ve been a bit concerned with how quickly a couple of our WordPress installs have been loading, so I was anxious to give this a try. I did some testing on two sites as they are now. Most of the pages were taking about three seconds to load (yes, I took the cache out of the equation). I installed the new code and tried again (cache still turned off) and the pages were installing in somewhere around two seconds. About a 50% increase in load speeds. This is all, of course, very unscientific, but that much of a change was enough for me to write this post.</p><p>Of course, your milage may vary! It might even crash your website for all I know?I&#8217;m certainly not guaranteeing jdMorgan&#8217;s code. All I know is that it seems to have sped up a couple of our WordPress-powered blogs.</p><h3>How to Change the .htaccess File</h3><div>If none of the above makes much sense to you, but you want to try to speed up your WordPress blog&#8230;here&#8217;s what you need to do. You will need an FTP client, FTP access to your WordPress installation, and a text editor. If you aren&#8217;t sure if you have these things&#8230;it&#8217;s time to write to someone who can help you.</div><div><ol><li> Log in to your WordPress install via your FTP client.</li><li>Navigate to the root of the install. This usually means inside the &#8220;public&#8221; folder.</li><li>The .htaccess file is an &#8220;invisible&#8221; file, meaning that unless you work at it, you won&#8217;t see the file listed. To see the file, make sure your FTP client has &#8220;View Invisibles&#8221; turned on. This varies from client to client, but often there is a &#8220;View&#8221; pulldown menu item that will let you toggle this setting.</li><li>Once you can see the .htaccess file, open it up with your text editor. (Depending on your set up, you may have to download it first and then edit it.)</li><li>Delete the WordPress generated rewrite code, which is everything from #Begin WordPress to #End WordPress.</li><li>Replace it with the code above.</li><li>Save the changes. (If you downloaded the file to edit it, remember to upload it and overwrite the old file.)</li></ol></div><p>I hope you have as much luck with this as we did.</p><h3 style="font-size: 1.17em;">Speed is Officially a Factor in Google Rankings</h3><p>It was recently announced that one of the new factors Google takes into consideration for ranking a website is <a href="http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html" target="_blank">how quickly the pages load</a>. With this in mind, these types of tweaks can have more impact than just making your readers a bit happier. Take a look at our <a href="http://www.chicagostyleseo.com/2010/03/caffeines-need-for-speed-an-overview/">complete guide to speeding up a website</a> for an expanding list of tips to optimize your load time.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/uAqouW6sGjc" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/02/speed-up-the-rewrite-engine-for-wordpress/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/02/speed-up-the-rewrite-engine-for-wordpress/</feedburner:origLink></item> <item><title>Ben Guest Posts on Hostway.com</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/2v44i60eL10/</link> <comments>http://www.chicagostyleseo.com/2010/02/ben-guest-posts-on-hostway-com/#comments</comments> <pubDate>Tue, 02 Feb 2010 19:02:57 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[Link Building]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=449</guid> <description><![CDATA[Chicago Style&#8217;s Ben Robinson was recently asked to write a guest post for Hostway&#8217;s fantastic Web Resources blog; the post is definitely worth checking out, as is the blog. Web Resources is a complete guide to starting and maintaining a successful web site. In his post, Ben wrote about Nine Easy Backlinks that you can get [...]]]></description> <content:encoded><![CDATA[<p>Chicago Style&#8217;s Ben Robinson was recently asked to write a guest post for Hostway&#8217;s fantastic <a href="http://www.hostway.com/web-resources/" target="_blank">Web Resources blog</a>; the post is definitely worth checking out, as is the blog. Web Resources is a complete guide to starting and maintaining a successful web site.</p><p>In his post, Ben wrote about <a href="http://www.hostway.com/web-resources/drive-traffic/search-engine-traffic/eight-easy-backlinks-from-social-media-profiles/" target="_blank">Nine Easy Backlinks</a> that you can get from social media sites. Some of the sites will surprise you. Did you know you can get a do-follow backlink from YouTube? How about that you can get multiple backlinks from Propeller.com and you can control the anchor text?</p><p>Let us know what you think of the post.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/2v44i60eL10" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/02/ben-guest-posts-on-hostway-com/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/02/ben-guest-posts-on-hostway-com/</feedburner:origLink></item> <item><title>Local Search Volume vs. Global Monthly Search Volume</title><link>http://feedproxy.google.com/~r/chicagostyleseo/blog/~3/lswmwbRK0p8/</link> <comments>http://www.chicagostyleseo.com/2010/01/local-search-volume-vs-global-monthly-search-volume/#comments</comments> <pubDate>Wed, 13 Jan 2010 15:44:20 +0000</pubDate> <dc:creator>Rod Holmes</dc:creator> <category><![CDATA[Search Engines]]></category><guid isPermaLink="false">http://www.chicagostyleseo.com/?p=441</guid> <description><![CDATA[Last spring Google added a new column to their keyword tool inside of AdWords: Local Search Volume. We have added this data to the keyword research data we send to our clients. And, as you would expect our clients ask what the difference is between the Local and Global columns. What&#8217;s the Difference Between Local and [...]]]></description> <content:encoded><![CDATA[<p>Last spring Google added a new column to their keyword tool inside of AdWords: Local Search Volume. We have added this data to the keyword research data we send to our clients. And, as you would expect our clients ask what the difference is between the Local and Global columns.</p><div id="attachment_444" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-444 " title="local-vs-global-search-volume-in-google" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/01/local-vs-global-search-volume-in-google.png" alt="Local vs. Global Search Volume in Google's Keyword Tool" width="450" height="299" /><p class="wp-caption-text">Local vs. Global Search Volume in Google&#39;s Keyword Tool</p></div><h3>What&#8217;s the Difference Between Local and Global Search Volume</h3><p>Local isn&#8217;t really all that &#8220;local.&#8221; It simply takes its data from searches made in your specified country in your specified language. This can be changed easily just above the search box. (See the above image.)</p><p>Global Monthly Search Volume means searches for done anywhere in the world in any language.</p><p>In the example above, it means that people working in English in the US search for &#8220;stuff&#8221; less than half as often as everyone else in the world.</p><h3>Another Example</h3><div id="attachment_445" class="wp-caption aligncenter" style="width: 579px"><img class="size-full wp-image-445 " title="karaoke-keyword-research" src="http://www.chicagostyleseo.com/wp-content/uploads/2010/01/karoke-keyword-research.png" alt="Am I the only one in the world who hates karaoke?" width="569" height="88" /><p class="wp-caption-text">Am I the only one in the world who hates karaoke?</p></div><p>The word &#8220;karaoke&#8221; was originally a Japanese word, but has been adopted by many languages to mean, &#8220;a past time where drunk people torture each other by pretending they can sing.&#8221; In the above example, you can see that &#8220;karaoke&#8221; is searched for 16.6 million times per month by English speakers in the US, but 30.4 million times globally in all languages.</p><p>Why they are searching for it is another question entirely.</p> <img src="http://feeds.feedburner.com/~r/chicagostyleseo/blog/~4/lswmwbRK0p8" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.chicagostyleseo.com/2010/01/local-search-volume-vs-global-monthly-search-volume/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://www.chicagostyleseo.com/2010/01/local-search-volume-vs-global-monthly-search-volume/</feedburner:origLink></item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using xcache
Page Caching using xcache
Database Caching using xcache

Served from: www.chicagostyleseo.com @ 2010-07-26 10:32:06 -->
