Skip to main content

Quick way to give your Yahoo! Store a speed boost

If you have a customized Yahoo! Store, chances are you are at least somewhat familiar with the “files library” in the store editor. The “files library” (“lib” for short) is an area where you can store files; all kinds of files such as images, css files, JavaScript files, videos, etc. You can access this area from your editor by clicking the “Files” button in your editor toolbar.

Storing files in the “lib” has many advantages over storing files elsewhere (for example on your web hosting server.) The “lib” is measurably faster than web hosting (any file that comes from http://site.yourdomainname.com/... is hosted on your web hosting account and not in the “files library”.) In addition, all files stored in the “lib” are automatically “gzipped”, meaning they are compressed before sending across the web and decompressed by the browser resulting in a smaller payload – and therefore, faster delivery. But did you know that you can also have your “lib” hosted on a Content Delivery Network (CDN?)

What is a CDN?

A CDN is a network of distributed servers that serve web pages and files based on the geographical location of the user. The idea is that if a visitor lives in New York, for example, and brings up a web page, then if that web page is stored on a server closer to New York then it will “pop up” on the visitor's screen faster than if the same web page was stored on a server in, say, California. Not to mention, that Google can detect if your web site uses a CDN or not, and will assign a different (better) SEO score to your site if it is using a CDN then if it is not.

How can you tell if your “lib” is on a CDN or not?


That's relatively easy. Log into your store editor and in the store manager, look in the far left column of links, under “Edit”. If you see a link there that says “Store Files” (with a “New” icon after it), then your store is already on the CDN. You can stop reading right here :)

How can you have the CDN enabled?

Easy, you just have to ask :) Well, almost. Basically, you have to call Yahoo! Small Business tech support and ask them to switch your file library over to the CDN-based version. The only catch is this: if your store uses any CSS files (and which web site does not?), then you will have to make sure BEFORE the switch-over that none of those CSS files include relative URLs pointing to files in the lib. So the CSS files should have nothing like this:

url(/lib/yhst-######/some-image.gif);

All such relative URLs should be changed to absolute URLs like

url(http://lib.store.yahoo.net/lib/yhst-#####/some-image.gif);

How much speed boost can I expect from this?

That's hard to tell, but probably nothing very dramatic. Unless you have an extremely poorly optimized and/or built store whose pages come up noticeably slowly, then using a CDN to serve up your layout images and external files will most likely not be noticeable for a human. However, it will be noticed by Google... And who doesn't like to make Google feel happy, right?

So go ahead and if you feel up to it, review your CSS files and give your store a quick speed boost. Or, if you'd rather have a professional take care of the whole thing for you, let us know and for a nominal fee we can do this for you. More info here: http://www.ytimes.com/yahoo-store-cdn.html

Comments

Popular posts from this blog

Catalog Request

You may have noticed that both the Catalog Request and Catalog Request Confirmation pages are now customizable through Checkout Manager. If you have already customized your Checkout Manager pages (or had someone customize them for you), and would like to have the same custom look applied to your Catalog Request and Catalog Request Confirmation forms, all you have to do is this: Go into Checkout Manager, click Page Configuration and then look at how your Shipping, Billing, Review, etc. pages are set up; in particular, check if you have the Top Navigation and Left Navigation enabled. Click over to the Catalog Request tab, and make sure you have the same settings next to Top Navigation and Left Navigation. Don't forget to hit Save or Save & Preview , otherwise your changes will be lost. Click over to the Catalog Request Confirmation tab and there too, make sure you have the same settings next to Top Navigation and Left Navigation (so if those are enabled on your other checkout p

CPR for a Yahoo Store on Google's Supplemental Index

Recently a client of mine came to me and said that most of his store pages disappeared from Google, and he did not do anything to make this happen. I was a bit skeptical, so I went to Google, did a search on his store, and sure enough, there were only two pages indexed, his home page and his site map (ind.html) page. The rest were in the supplemental results, which means that Google thought the rest of the pages were not much different than these two pages. When I looked at the supplemental results, the little excerpts under each link were exactly the same, and I also noticed that what Google showed under each result was actually text from the ALT tags of the header image. I looked at some of these pages in my client's store, and they were actually different. This was a bit puzzling, but then I thought perhaps Google saw that the header and left navigation was the same throughout the site (which is pretty normal), but that the text that made each page different was too far down ins

Auto-update Copyright Year

This is one of those minor, recurring questions I'm always asked (each year): to update the copyright year in sites. Whether this is the "right thing" to do or not I don't know, but here is how you can make it automatic: First, go to the Variables page (these instructions are for Yahoo! Stores), and do a search for the word "copyright" or the year that's currently displayed next to your copyright message. If you can't find it there, chances are you have a custom template and the copyright message might be coming from some place else. In that case, you'll have to track it down, but because custom templates can be set up in any which way, unfortunately you'll be on your own. Assuming you found it, replace the year with this JavaScript code: <script>document.write(new Date().getFullYear())</script> Hit Update and you should be all set!