par svart » 08 Oct 2003 16:44
- On peut faire faire au client Ctrl+R (afficher les pagses sans le cache Internet du navigateur, marche sur Mozilla, IE, Netscape)
<BR>
<BR>- Mettre dans ton code HTML des pages le meta-tag "ne pas cacher la page"
<BR>
<BR>Expires
<BR>Source: HTTP/1.1 (RFC2068)
<BR>
<BR>The date and time after which the document should be considered expired. Controls cacheing in HTTP/1.0. In Netscape Navigator, a request for a document whose expires time has passed will generate a new network request (possibly with If-Modified-Since). An illegal Expires date, e.g. "0", is interpreted as "now". Setting Expires to 0 may thus be used to force a modification check at each visit.
<BR>
<BR>Web robots may delete expired documents from a search engine, or schedule a revisit.
<BR>
<BR>Dates must be given in RFC850 format, in GMT. E.g. (META tag):
<BR>
<BR><META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<BR>
<BR>or (HTTP header):
<BR>
<BR>Expires: Wed, 26 Feb 1997 08:21:57 GMT
<BR>
<BR>In HTTP 1.0, an invalid value (such as "0") may be used to mean "immediately".
<BR>
<BR>Note: While the Expires HTML META tag appears to work properly with Netscape Navigator, other browsers may ignore it, and it is ignored by Web proxies. Use of the equivalent HTTP header, as supported by e.g. Apache, is more reliable.
<BR>
<BR>See also CacheNow for discussion about cache control, page expiry, etc.
<BR>
<BR>
<BR>- Dire à Squid de ne pas cacher les pages du domaine souhaité
<BR>4.19 Can I make Squid go direct for some sites?
<BR>
<BR>Sure, just use the always_direct access list.
<BR>
<BR>For example, if you want Squid to connect directly to hotmail.com servers, you can use these lines in your config file:
<BR>
<BR>acl hotmail dstdomain .hotmail.com
<BR>always_direct allow hotmail
<BR>
<BR>
<BR>Voilà, en espérant rendre service !
<BR>
<BR>Simon
Si l'on ne fait que ce que l'on sait faire, on n'apprend jamais rien.