You can connect or disconnect the proxy server computer from the network. This feature means you can easily install the proxy on a portable computer that you can use for demonstrations.
When the proxy is disconnected from the network, documents are returned directly from the cache. The proxy can’t do up-to-date checks, so the documents are retrieved very quickly. However, the documents might not be up to date. See Chapter 12, Caching for more information on caching).
If you are not connected to a network, connections never hang because the proxy server is aware that no network connection exists and never tries to connect to a remote server. You can use this no-network setting when the network is down but the proxy server computer is running. Running the proxy disconnected from the network means that you will eventually be accessing stale data from the cache. Also, running without the network makes the proxy security features unnecessary.
Proxy Server offers four network connectivity modes:
Default mode is derived from the configuration of the most general matching object.
Normal mode is the normal operating mode for the proxy. The proxy retrieves documents from the content server if they are not already in the cache. If they are in the cache, they may be checked against the content server to determine if they are up to date. If a cached file has changed, it is replaced with the current copy.
Fast-demo mode enables you to present smooth demonstrations when the network is available. If a document is found in the cache, the content server is not contacted, not even to find out if the document has changed. This mode prevents any latency created by waiting for the content server to respond. If a document is not in the cache, it is retrieved from the content server and cached. The fast-demo mode has less latency than the normal mode, but can occasionally return stale data because once the server has a copy of a document, it does not do up-to-date checks on the document.
No-network mode is designed for portable computers during the time they are not connected to the network. The proxy returns the document if it is in the cache or returns an error if it is not. The proxy never tries to contact the content server, which prevents the proxy from timing out while trying to get a connection that doesn’t exist.
Access the Server Manager and click the Routing tab.
Click the Set Connectivity Mode link. The Set Connectivity Mode page is displayed.
Select the resource from the drop-down list or click the Regular Expression button, type a regular expression and click OK.
Select the mode you want.
Click OK.
Click Restart Required. The Apply Changes page is displayed.
Click the Restart Proxy Server button to apply the changes.