Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Content / cache engine question

Does anyone know the difference between "bypass static" and "rule action no-cache pattern-list"

It seems to me both tell the content engine not to cache the specified URL.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Content / cache engine question

bypass static permits traffic from specified sources to bypass the Content

Engine. The types of traffic sources are as follows:

Specific web client to a specific web server

Specific web client to any web server

Any web client to a specific web server

Examples

This example forces HTTP traffic from a specified client to a specified server to bypass the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 172.16.7.52

This example forces all HTTP traffic destined to a specified server to bypass the Content

Engine.

ContentEngine(config)# bypass static any-client 172.16.7.52

This example forces all HTTP traffic from a specified client to any web server to bypass

the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 any-server

------------------------

"rule action no-cache pattern-list"

intstructs cache engine to NOT cache ANYTHING from a particular web URL.

This example forces CE to not cache anything from www.donotcache.com

rule enable

rule action no-cache pattern-list 18 protocol all

rule pattern-list 18 domain www.donotcache.com

5 REPLIES

Re: Content / cache engine question

bypass static permits traffic from specified sources to bypass the Content

Engine. The types of traffic sources are as follows:

Specific web client to a specific web server

Specific web client to any web server

Any web client to a specific web server

Examples

This example forces HTTP traffic from a specified client to a specified server to bypass the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 172.16.7.52

This example forces all HTTP traffic destined to a specified server to bypass the Content

Engine.

ContentEngine(config)# bypass static any-client 172.16.7.52

This example forces all HTTP traffic from a specified client to any web server to bypass

the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 any-server

------------------------

"rule action no-cache pattern-list"

intstructs cache engine to NOT cache ANYTHING from a particular web URL.

This example forces CE to not cache anything from www.donotcache.com

rule enable

rule action no-cache pattern-list 18 protocol all

rule pattern-list 18 domain www.donotcache.com

New Member

Re: Content / cache engine question

Does it mean these two would have the same result? (no cache to particular site)

ContentEngine(config)# bypass static any-client 172.16.7.52

rule action no-cache pattern-list 18 protocol all

rule pattern-list 18 dst-ip 172.16.7.52

I was trying to find the difference between these two.

thanks.

Re: Content / cache engine question

Perspective is different

"bypass static any-client 172.16.7.52"

will force HTTP traffic destined to 172.16.7.52 to bypass the Content Engine.

Where as

"rule action no-cache pattern-list 18 protocol all

rule pattern-list 18 dst-ip 172.16.7.52"

will instruct Content engine to not cache any thing from 172.16.7.52.

What are you trying to achieve?

Syed Iftekhar Ahmed

New Member

Re: Content / cache engine question

Both result in the site not being cached though right?

So far we've identified severl sites that don't work well w/ caching, and would like the content engine NOT to cache anything from those sites.

I assume both methods would work in my case?

What exactly did you mean traffic would bypass the content engine in your first example?

Traffic would go straight from client to webserver?

Re: Content / cache engine question

With static bypass

The "origin server" will observe traffic coming directly from "client IP" not from CE's IP.

Syed Iftekhar Ahmed

135
Views
0
Helpful
5
Replies
CreatePlease login to create content