01.01.2013 Views

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

Proxies and caching<br />

<strong>Web</strong> caching<br />

Enable <strong>Web</strong> Cache<br />

Always –> Continue — Enable <strong>Web</strong> Cache<br />

The rule is always processed unless it is skipped because the bypassing rule placed before it in the<br />

rule set applies. It enables the web cache, so objects stored in it can be read. Processing continues<br />

with the next rule set.<br />

Write to Cache<br />

This nested rule set enables the writing of web objects to the cache and forbids it for large objects, as<br />

well as for URLs and media types on particular bypassing lists.<br />

Nested library rule set — Write to Cache<br />

Criteria — Always<br />

Cycles — Responses<br />

The rule set contains the following rules:<br />

Skip caching URLs that are in <strong>Web</strong> Cache URL Bypass List<br />

URL matches in list <strong>Web</strong> Cache URL Bypass List –> Stop Rule Set<br />

The rule uses the URL property to check for a URL sent from the web whether it is on the specified<br />

bypass list.<br />

If it is, processing of the rule set stops. The rule that enables writing to the cache is then not<br />

processed. Processing continues with the next rule set.<br />

Note: The rule is not enabled by default.<br />

Skip caching objects that are larger than X bytes<br />

String.ToNumber (Header.ResponseGet (“Content-Length”)) greater than 8388608<br />

–> Stop Rule Set<br />

The rule uses the String.ToNumber property to convert a string in a response header that is sent<br />

with an object to indicate its content length into a numerical value. Then it checks whether this<br />

value is greater than the number specified here.<br />

If it is, processing of the rule set stops and the writing rule of the rule set is not processed.<br />

Processing continues with the next rule set.<br />

Note: The rule is not enabled by default.<br />

Skip caching media types that are in <strong>Web</strong> Cache Media Type Blocklist<br />

MediaType.FromHeader is in list <strong>Web</strong> Cache Media Type Blocklist –> Stop Rule Set<br />

The rule uses the MediaType.FromHeader property to check for media whether the type they<br />

belong to is on the specified bypass list. The type is taken from the header information of the<br />

request sent for accessing the media.<br />

If the media type is on the list, processing of the rule set stops. The writing rule of the rule set is<br />

then not processed. Processing continues with the next rule set.<br />

Note: This rule is not enabled by default.<br />

Enable web cache<br />

Always –> Continue — Enable <strong>Web</strong> Cache<br />

The rule is always processed unless it is skipped because the rules preceding it it in the rule set<br />

apply. It uses an event to enable the web cache, so objects can be written to it. Processing<br />

continues with the next rule set.<br />

76 <strong>McAfee</strong> <strong>Web</strong> <strong>Gateway</strong> <strong>7.1.5</strong> <strong>Product</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!