On Fri, 11 Feb 2005 12:05:51 +0100, Sandor Spruit <[EMAIL PROTECTED]> wrote: > I am working on a Cocoon demo, but I'm not sure whether there will be a > connection to the Internet when the demo takes place. > Is there a smart solution to somehow cache on-line content, just in case > the network connection is not available on the 'moment supreme'?
I'm not sure if there's a way of doing this with Cocoon internally, but it might well be possible to achieve the same effect by installing a separate proxy server product (Squid? Apache HTTPD?) and configuring it to use its internal cache if the upstream connection is not available. You'll need to configure Java to use this local proxy server using the http.proxyHost and http.proxyPort system properties. I've never tried to do this, so this e-mail isn't a guarantee of success -- just a thought! Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
