30.01.2015 Views

Administrator's Guide - Kerio Software Archive

Administrator's Guide - Kerio Software Archive

Administrator's Guide - Kerio Software Archive

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

9.5 HTTP cache<br />

other objects can be stored into the cache unless there is more free space on the disk<br />

(made by further cleaning or by manual removal).<br />

2. If the maximum cache size set is larger than the free space on the corresponding<br />

disk, the cache is not initialized and the following error is recorded in the Error log<br />

(see chapter 22.8).<br />

Max HTTP object size<br />

maximal size of the object that can be stored in cache.<br />

With respect to statistics, the highest number of requests are for small objects (i.e. HTML<br />

pages, images, etc.). Big sized objects, such as archives (that are usually downloaded at<br />

once), would require too much memory in the cache.<br />

Cache Options<br />

Advanced options where cache behavior can be defined.<br />

• Continue aborted download — tick this option to enable automatic download of<br />

objects that have been aborted by the user (using the Stop button in a browser).<br />

Users often abort downloads for slow pages. If any user attempts to open the<br />

same page again, the page will be available in the cache and downloads will be<br />

much faster.<br />

• Cache responses ’302 Redirect’ — this option accelerates connection to redirected<br />

web pages.<br />

Under usual circumstances, 302 Redirect responses are not cached. HTTP<br />

protocol’s return code 302 stands for temporary redirection — such redirection<br />

can be canceled any time or the target URL can change. If user applies the cached<br />

response to open a web page, the client can be redirected to an obsolete or invalid<br />

URL.<br />

• Use server supplied Time-To-Live — objects will be cached for time specified by<br />

the Web server from which they are downloaded. If TTL is not specified by the<br />

server, the default TTL will be used (see the HTTP protocol TTL item).<br />

Warning:<br />

Some web servers may attempt to bypass the cache by too<br />

short/long TTL.<br />

• Ignore server Cache-Control directive — <strong>Kerio</strong> Control will ignore directives for<br />

cache control of web pages.<br />

Pages often include a directive that the page will not be saved into the cache.<br />

This directive page may be misused for example to bypass the cache. Enable the<br />

Ignore server Cache-Control directive option to make <strong>Kerio</strong> Control accept only<br />

no-store and private directives.<br />

Note: <strong>Kerio</strong> Control examines HTTP header directives of responses, not Web<br />

pages.<br />

• Always validate file in cache — with each query <strong>Kerio</strong> Control will check the<br />

server for updates of objects stored in the cache (regardless of whether the client<br />

demands this).<br />

149

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

Saved successfully!

Ooh no, something went wrong!