O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Content Delivery Network to load your static resources

When you have multiple static resources in your page such as CSS, JavaScript, and images, it's always beneficial to use a Content Delivery Network (CDN) to parallelize downloading these resources and distribute them across different domain names. Even if you don't have different domain names, you can use the same domain with different sub-domains in order to trick the browser into believing that there are different domain names.

In this recipe, we are going to use a CDN to fetch skin, images, videos, and JavaScript files. You can grab this project's recipe by cloning the ADFFacesWithCDN application from the Git repository.

Getting ready

Add an entry of your machine name under your host's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required