Article View: pl.comp.sys.sun.admin
Article #122Re: [SUN-ADMINS-PL:756] Re: WWW cache
From: woj... Wojtek Sylwestrzak
Date: Thu, 04 Jan 1996 00:00
Date: Thu, 04 Jan 1996 00:00
47 lines
2657 bytes
2657 bytes
Michal Jankowski (Michal.J...@fuw.edu.pl) wrote: : Kiepawo. Reload z netscape czy czegos tam to po prostu ustawia ... Michal, zelgalem jak pies. fragment z pliku konfiguracyjnego: # TAG: ttl_pattern # Selection of TTL's based on URL regular expressions (syntax # is the POSIX standard). There are no defaults. # # The list of URL patterns are searched in the order listed here. # All patterns in the list are checked and the last match is used. # There are two ways to specify the TTL: an absolute value, and # as a percentage of the object's age. # # The percentage factor is listed last on the line and may be # omitted. If the value is positive (non-zero) and the object # metadata includes a last-modified timestamp, the TTL will be set as # the given percent of the difference between current time and # the last-modified time. The number following the percentage # is an upper limit on the TTL. The default is 43200 minutes, or # 30 days. This means that no object whose TTL is set by this # method will remain in the cache for longer than 30 days. # # If the percentage factor is not used (for example when an object # has no last-modified timestamp) the absolute TTL value will # be checked instead. If the absolute value is non-negative, # it will be used. # # A negative absolute TTL value in conjunction with a positive # percentage factor has the effect that the TTL is set from # the pattern match only if a last-modified timestamp is present. # # If neither the absolute TTL or percentage factor result in a # TTL for the object, the default TTL from the preceeding section # will be used. # # Examples: # # Calculate TTL as # Absolute this percentage of # Regular Expression TTL in the object's age # matching URLs minutes %age Max (minutes) Ja po prostu u siebie dalem bardzo duze wartosci. --w
Technical Details
Message-ID:
<4ch6rq$7n7@parnas.mimuw.edu.pl>Path:
mbox-mo1.pugleaf.net!unknown!not-for-mailReferences:
<199601031850.TAA27541@hydrant.icm.edu.pl> <2n4tud2bwe.fsf@ccmj.fuw.edu.pl>Show Full Headers
Complete Article Headers
From: woj...@icm.edu.pl (Wojtek Sylwestrzak) Subject: Re: [SUN-ADMINS-PL:756] Re: WWW cache Date: 1996/01/04 Message-ID: <4ch6rq$7n7@parnas.mimuw.edu.pl> X-Deja-AN: 133971518 references: <199601031850.TAA27541@hydrant.icm.edu.pl> <2n4tud2bwe.fsf@ccmj.fuw.edu.pl> organization: Division of Mathematics, Informatics and Mechanics, Warsaw University newsgroups: pl.comp.sys.sun.admin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit