Dec 16, 2009

Web Optimizer for CDN

After a couple of questions (how Web Optimizer can be used to move all assets to CDN) we prepared a quick quide to let you use Web Optimizer with your CDN easily.

So step-by-step

  • First you need to have CDN host setuped as a mirror for your website. I.e. if you have an image www.site.com/img/image.png you must have cdn.site.com/img/image.png (right now Web Optimizer correctly supports only 1 subdomain for CDN - cdn.yourwebsite.com).
  • After this initial CDN setup you new to set only 2 options in Web Optimizer configuration. First if 'host' (the very first screen of settings, near license key field). Set it to cdn.site.com. This turns on CDN usage for CSS / JS merged assets.
  • Then you should enable multiple hosts. For this purpose in the group "Multiple hosts" just enable their usage + disable option "Check hosts' availability automatically" (this seems don't work properly in case of CDN). And enter 'cdn' (without quotes) to the field "Allowed hosts, i.e. img i1 i2".

That's all! So you will have the following options:

Website host (to include before static resources), i.e. site.com ->
cdn.yoursite.com
Enable multiple hosts -> Yes
Check hosts' availability automatically -> No
Allowed hosts, i.e. img i1 i2 -> cdn

So this will turn on CDN usage for your website fast and easily.

A good example of CDN mplementation is www.maxcdn.com.

15 comments:

  1. The team communicates and directs the engagement adeptly to streamline collaboration. A valuable partner, UI companies in the world navigates project requirements effectively.

    ReplyDelete
  2. They took ownership of the project and web design by helped us make our product even better

    ReplyDelete
  3. The team scales resources as needed and is capable of handling multiple projects simultaneously.
    UX firm

    ReplyDelete
  4. They provided mobile app design and development for a lifestyle app. Their team worked with wireframes and then built out a full prototype.
    branding and marketing agency

    ReplyDelete
  5. They were communicative project managers, mobile design companies, strong designers, and personable collaborators.

    ReplyDelete
  6. They met all deadlines and were highly professional
    brand design company

    ReplyDelete
  7. The speed and quality of design were impressive and they really went the extra mile
    UI UX design firm

    ReplyDelete

  8. Thank you for any other wonderful article. The place else could anybody get that kind of information in such a perfect way of writing?
    I have a presentation next week, and I am at the look for such information.

    Review my page please: 강남오피
    (jk)

    ReplyDelete
  9. I love what you guys tend to be up too. This type of clever work and reporting! Keep up the awesome works guys I’ve added you guys to our blogroll.
    Moviesflix

    ReplyDelete
  10. I constantly emailed this site post page to all my friends, because if prefer to read it then my all friends will too.
    UI UX design firms

    ReplyDelete
  11. Well, it’s a nice one, I have been looking for. Thanks for sharing such informative stuff.
    top web designing company

    ReplyDelete
  12. An unbelievable blog. This blog will indisputably be definitely recommended to my friends as well.
    user experience design firms

    ReplyDelete
  13. The written piece is truly fruitful for me personally; continue posting these types of articles.
    San Francisco design agencies

    ReplyDelete