0

I'm checking a drupal site with YSlow and I get a "Grade E on Use a Content Delivery Network (CDN)" with this message:

"There are 43 static components that are not on CDN."

Just wondering if the cdn will help to improve this situation.

3

It will only help if your files are actually on a CDN...if they are, then install that module, set it up, and you should see some performance benefits.

If not, then installing it will have zero effect, except to add a very slight extra overhead to your page build (when the module is included/hooks are run/etc).

  • 1
    You could use the CDN module to parallelize downloads, which should give you a performance boost on older browsers. Basically you make 2 domains that point to the same website and with some configuration, the CDN module will split css/js/images amongst the domains. Some redirecting is needed for SEO though. – Bart May 16 '12 at 13:26
  • if done properly, its not only a boost on older browsers - the other domain can have a way simplier setup in Apache - be faster. – mojzis Jul 17 '12 at 8:21
1

If you can afford a CDN account/space (most of which as far as I know are paid services to be useful enough for a live site) and your site has adequate static content that will be used the module should help, just like @Clive says the files need to be physically present in your CDN to make the difference, else it will be just serving as a dead load whose hooks will be listened to on all page requests and events without any use. You could make the final call keeping in mind that what YSlow offers is only suggestions on improving performance and if your site has adequate hits to use a CDN that aids response.

1

It's pretty simple. First install the CDN module on your drupal site. Then make use of Cloudflare which is free of cost. It has CDN feature which distributes your content around the world so it’s closer to your visitors (speeding up your site).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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