1 <samba:parameter name="lpq cache time"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This controls how long lpq info will be cached
7 for to prevent the <command moreinfo="none">lpq</command> command being called too
8 often. A separate cache is kept for each variation of the <command moreinfo="none">
9 lpq</command> command used by the system, so if you use different
10 <command moreinfo="none">lpq</command> commands for different users then they won't
11 share cache information.</para>
13 <para>The cache files are stored in <filename moreinfo="none">/tmp/lpq.xxxx</filename>
14 where xxxx is a hash of the <command moreinfo="none">lpq</command> command in use.</para>
16 <para>The default is 30 seconds, meaning that the cached results
17 of a previous identical <command moreinfo="none">lpq</command> command will be used
18 if the cached data is less than 30 seconds old. A large value may
19 be advisable if your <command moreinfo="none">lpq</command> command is very slow.</para>
21 <para>A value of 0 will disable caching completely.</para>
24 <related>printing</related>
26 <value type="default">30</value>
27 <value type="example">10</value>