**** Ad Rotator in ESI ****

This example of an ad rotation engine is implemented completely through HTML and ESI. It consists of two files: "ads.html" contains a list of ads and links, "choose_ad.html" contains the logic for choosing a random advertisement. Because logic is implemented on the edge, all of the pages are cacheable. Click Reload to see a different ad.

[ Total number of ads: 9 | Chosen ad: 3 | Ads File | Choosing engine]