Content delivery network is great to load your static resource in parallel; however, sometimes you might need to cache and compress these resources. Typically, you can use Oracle Web Cache or Oracle Traffic Director, and you can configure these cache rules from your application as well.
Even if you don't have Oracle Web Cache or Oracle Traffic Director, you can cache to the browser directly.
In this recipe, we are going to use ADF Faces caching rule to cache custom CSS files. For this example application, you can continue from the last recipe's
ADFFacesWithCDN application, or you can grab this project's recipe by cloning the
ADFFacesWithCache application from the Git repository.