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

What is product-url anyway?

I keep having to field questions about the product-url field, and since it came up yesterday, I figured I'd try to clear up all the confusion about it.

So the name product-url suggests that whatever you type in there will become the URL of that product. Unfortunately, this is not the case, or rather, not in the intuitive way. The URL you enter there will be used as the URL for that product in Yahoo Shopping, on the built-in search results page, and on the shopping cart page, however, the URL you type in there DOES NOT actually change the physical URL of the page.
What is the URL of a page in a Yahoo Store? In any Yahoo Store built in the store editor, the URL of a page is the store's domain name and the page ID + .html. For example, in my store at www.ytimes.info, I have a page whose id is rtml101, thehrefore, the URL of that page is http://www.ytimes.info/rtml101.html.
Why would you want to change the URL? For SEO reasons, it is believed to be better to have a URL that includ…

Referencing Files from Yahoo! Web Hosting Securely

Now that hopefully most of you you have your stores secured (if not and need help, we offer a Secure Storefront Preparation Service here), you may have been faced with the question of how to reference files (images, CSS, JavaScript, src) if those files are stored on your Yahoo! store's web hosting account. Obviously using the old HTTP: method won't work, so something like this

< img src="http://site.ytimes.com/image.jpg" />

will not work. Nor can you simply change the http: part to https: , because as of this writing, only the store editor portion of a Yahoo! Store can be made secure, the web hosting portion cannot.

First a side note: if this sounds totally Greek to you because you have never heard of the web hosting part of your Yahoo! Store, you may have a legacy Yahoo! store account and not a Merchant Solution one. With a legacy store account you will only have the store editor part and no hosting account, in which case none of this applies to you.

The good n…

Really Quick Trick to Improve Page Load Speed of a Yahoo Store a Little Bit

With Google getting more and more aggressive about wanting web sites to be quick to load (particularly on mobile), we often find ourselves trying to find even the smallest of tweaks to nudge up that page speed score even if by a tiny bit. Here is a quick trick you can do completely on your own, without having to ask a developer, that will probably bump up your Google PageSpeed score by a couple of points.

First a short disclaimer: this trick is only applicable if you have enabled the Yahoo! Badge in your Store Manager, under Live Insights & App Gallery.

Before you start, you may want to check your site's Google PageSpeed (the home page is a good place to start) both as a benchmark, and also to get a glimpse at how fast (or slow) Google believes your site (or home page) is. Here is the link:

https://developers.google.com/speed/pagespeed/insights/
Ok, so if you did enable the Yahoo! Badge, your site includes a small Yahoo Live Store badge, much like this:


When you hover over the …