Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / mcr-test / WWW / User / Reference / w3c.jigsaw.proxy.CacheProp.html
diff --git a/JMCR-Stable/mcr-test/WWW/User/Reference/w3c.jigsaw.proxy.CacheProp.html b/JMCR-Stable/mcr-test/WWW/User/Reference/w3c.jigsaw.proxy.CacheProp.html
new file mode 100644 (file)
index 0000000..8890bae
--- /dev/null
@@ -0,0 +1,219 @@
+<HTML>\r
+<HEAD>\r
+  <!-- Created by GNNpress -->\r
+  <TITLE>CacheProp Reference manual.</TITLE>\r
+<!-- Changed by: Anselm Baird-Smith,  4-Feb-1997 -->\r
+</HEAD>\r
+<BODY BGCOLOR="white">\r
+<A HREF="http://www.w3.org/pub/WWW/" TARGET="_top_">\r
+ <IMG SRC="/icons/WWW/w3c_home.gif"\r
+  ALT="W3C"\r
+  BORDER="0" WIDTH="72" HEIGHT="48"></A>\r
+<A HREF="http://www.w3.org/pub/WWW/Jigsaw/" TARGET="_top_">\r
+ <IMG SRC="/icons/jigsaw" ALT="Jigsaw" BORDER="0">\r
+</A>\r
+<HR>\r
+<A HREF="resources.html">All Resources</A>  \r
+<A HREF="filters.html">All filters </A>\r
+<HR>\r
+<H1>\r
+  CacheProp\r
+</H1>\r
+<P>\r
+This resource class provides editable access to the cache configuration.\r
+It's use is to allow easy customization of <B>Jigsaw</B> when used as a proxy\r
+or as a mirror.\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Inherits\r
+</H2>\r
+<P>\r
+The <A HREF="../api/w3c.jigsaw.proxy.CacheProp.html">CacheProp</A> class\r
+inherits from the following classes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="../api/w3c.jigsaw.config.PropertySet.html">PropertySet</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Attributes description\r
+</H2>\r
+<P>\r
+The HTTPResource defines the following attributes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.size">w3c.www.protocol.http.cache.size</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.debug">w3c.www.protocol.http.cache.debug</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.shared">w3c.www.protocol.http.cache.shared</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.directory">w3c.www.protocol.http.cache.directory</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.cache.connected">w3c.www.protocol.http.cache.connected</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.garbageCollectionEnabled">w3c.www.protocol.http.cache.garbageCollectionEnabled</A>\r
+  <LI>\r
+    <A HREF="#w3c.www.protocol.http.cache.fileSizeRatio">w3c.www.protocol.http.cache.fileSizeRatio</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.size">w3c.www.protocol.http.cache.size</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    The size of the cache, given as the number of bytes that the cache is allowed\r
+    to use on the disk.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a editable\r
+    <A HREF="../api/w3c.jigsaw.resources.IntegerAttribute.html">IntegerAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to <STRONG>5000000</STRONG>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.debug">w3c.www.protocol.http.cache.debug</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    Turn the cache filter debug mode on or off.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.BooleanAttribute.html">BooleanAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to <STRONG>false</STRONG>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.shared">w3c.www.protocol.http.cache.shared</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    Is this cache shared among multiple users ?\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.BooleanAttribute.html">BooleanAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to <STRONG>true</STRONG>. For better caching efficiency,\r
+    you should turn that flag to <STRONG>false</STRONG> if you are the only user\r
+    of the cache.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.directory">w3c.www.protocol.http.cache.directory</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    The directory that the cache can use to store cached entries.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.FileAttribute.html">FileAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to the current directory.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.connected">w3c.www.protocol.http.cache.connected</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    Tell the cache wether it is allowed to use the net to answer to any request.\r
+    This has the same effect as if all requests served by the cache had the\r
+    <CODE>only-if-cache</CODE> cache control directive set.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.BooleanAttribute.html">BooleanAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to the <STRONG>false</STRONG>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.garbageCollectionEnabled">w3c.www.protocol.http.cache.garbageCollectionEnabled</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    Enables or disables the garbage collector of the cache. This is most usefull\r
+    when you are planning to use the proxy in disconnected mode: turn\r
+    <STRONG>off</STRONG> this flag while filling in the cache, then disconnect\r
+    it by using the\r
+    <CODE><A HREF="#w3c.www.protocol.http.cache.connected">w3c.www.protocol.http.cache.connected</A></CODE>\r
+    property.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.BooleanAttribute.html">BooleanAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to the <STRONG>true</STRONG>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="w3c.www.protocol.http.cache.fileSizeRatio">w3c.www.protocol.http.cache.fileSizeRatio</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    Indicates the ratio - relative to the cache size - of the number of bytes\r
+    a single entry in the cache is allowed to occupy. For example, if set to\r
+    <STRONG>0.1</STRONG> and the <A HREF="#w3c.www.protocol.http.cache.size">cache\r
+    size </A>is set to <STRONG>5000000</STRONG>, then any document whose length\r
+    is greater then <STRONG>500000</STRONG> will not be cached.<BR>\r
+    This ratio is given as a floating point value between <STRONG>0</STRONG>\r
+    and <STRONG>1</STRONG>.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a computed\r
+    <A HREF="../api/w3c.jigsaw.resources.DoubleAttribute.html">DoubleAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute defaults to the <STRONG>0.1</STRONG>.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<I><A HREF="mailto:jigsaw@w3.org">Jigsaw Team</A><BR>\r
+</I>$Id: w3c.jigsaw.proxy.CacheProp.html,v 1.1 1996/09/25 14:23:11 abaird\r
+Exp $\r
+<P>\r
+<P>\r
+<P>\r
+</BODY></HTML>\r