I had a thought about CDNs and if they affect page rankings. Lets say hypothetically if I was to create a CDN as a subfolder in my site. This folder would contain a resource that is useful e.g. Javascript library. This resource I would then share with other sites who would include my CDN resource into their pages.

Would this improve my rankings in Google etc. as their analytics will detect the resource link to my own website and then index it or record it somewhere?


3 Answers 3


No, this will not improve your ranking. Links from other websites, specifically websites with related content that rank well for the same things you hope to rank well for, help you rank better. Sharing a resource does not with SEO nor is Google Analytics used towards this purpose. Now if you provide a useful tool other websites may link to you because of it but that would be an indirect benefit of it and your primary goal as asked in your question definitely will not work.

  • 1
    I don't know where you get these stright YES/NO anyway I have got the feeling you are perfectly righ. @loosebruce: your CDN idea will anyway boost the visits to your main site, it will be like a sort of advertisement. Commented Feb 7, 2012 at 19:04

Have to disagree with John based upon the literal elements involved in CDN. Obviously if a page loads faster it will be treated better by search engines.

  • 2
    This has zero to do with the question, which is about whether the links generated by providing a public CDN would contribute to PR, which is incredibly unlikely as PR is based on anchor(<a/>) links, not <link/> or <script/> links. And while performance problems will undoubtedly negatively affect search ranking, there's no evidence to suggest that marginal above-average performance increases will improve PR. Commented Feb 28, 2012 at 2:48
  • 2
    I agree with @Lèsemajesté content within your header which links to included files such as style sheets and javascript has very little to do with your rankings these are not <a> tag links which have much more weight when it comes to your ranking position than your pages load time. Here is an article about GoDaddy using their seal on hosted pages to increase their rankings, in this case they use thousands of <a> tags to rank yoast.com/godaddy-link-building
    – Anagio
    Commented Feb 28, 2012 at 8:04

A CDN can be very helpful in getting your pages to rank better by improving their loading speed. Pages that take longer that three seconds to load (including all of their images, scripts, and CSS) fall in the rankings because users tend to click back to something else on Google before they are done loading.

A CDN can speed up the loading of the images scripts and CSS and may get you under the 3 second threshold.

For image SEO purposes, you should create the CDN as a sub-domain of your website. For example if your website is www.example.com, then your image CDN might be images.example.com. images.example.com can be a cname to your CDN provider. Getting images to rank it Google image search when they are on a different domain than your own is much harder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.