SGOS Clear Proxy Cache for Single URL

Symptom:

When a URL is entered, the browser brings up outdated material, or brings up an incorrect redirect to another destination.

Problem:

The proxy cached content has not refreshed or will not refresh (likely due to an invalid URL).

Solution:

Clear the content cached for that URL.

SSH into the device that is providing the proxy.
You must be in the configuration hierarchy.

> enable
# conf t

Enter the following command which will clear the content:

(config)# content delete regex PATH.TO.URL

Enter the following command which will re-validate the content (this command will need to include http://):

(config)# content revalidate url http://PATH.TO.URL/

 

Comments:

Here’s a real-world example:

> putty.exe

login as: admin
admin@172.29.34.254’s password:

MOLBC01>ena
Enable Password:
MOLBC01#conf t
MOLBC01#(config)content delete regex yourfoodsystems.com
ok
MOLBC01#(config)content revalidate  url  http://yourfoodsystems.com/
Last load time: Mon, 14 Feb 2011 17:27:56 UTC
ok
MOLBC01#(config)content revalidate  url http://www.yourfoodsystems.com/
Last load time: Mon, 14 Feb 2011 17:28:28 UTC
ok
MOLBC01#(config)exit
MOLBC01#

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.