Hi folks, I'm still working with FC5.1.12, and I had a question about caching (though I think I know the answer). On our home page, we have a few containers which have dynamic content that get's cached (say a ruleDisplayNews etc.). The admins wanted to add a random rule (basically a random image from an event). This, of course, cannot get cached if it is to be random. This, in turn, means that the entire page will not get cached as one. The different (already cached) containers do, but the page as a whole will not. This slows down the presentation of the home page significantly (since we are running on CFMX 7 and a slightly under-powered server).
So my thought was that if the "random" rule was cached as a javascript / AJAX call, then all would be fine. The entire page could get cached, and onLoad, the ajax would call the random image to be loaded as necessary! Problem: how do I go about adding that functionality? I imagine that in some sense, all I need to do is add a cache-able webskin (call it displayTeaserAjax) that contains the javascript that does all the random number generation etc. Does anyone have any pointers as to where to start integrating something like that? Or is there a better way to solve the caching issue? Thanks, Tomek -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
